Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
Pedro Abel Díaz Sánchez
@coderHook
Is there any video on twithc on I can see how other people did this weather zipline? I can see tha jackel_27 shows his weather app but not from the very beggining... I am completely lost.
Robert Uivarosi
@URobert
@Abel1987 yw
Pedro Abel Díaz Sánchez
@coderHook
can you provide me with a link? on twitch I cannot find it
Buzz Tarek
@buzzth
Hey guys, I'm in the early phases of my tribute page. Struggling with making elements responsive as well as centering a video on the page. Any help is appreciated.

<p data-height="447" data-theme-id="0" data-slug-hash="jqOeZE" data-default-tab="result" data-user="buzzth" data-preview="true" class='codepen'>See the Pen <a href='http://codepen.io/buzzth/pen/jqOeZE/'>Kazumi Totaka Tribute Page</a> by Bassim Hijazi (<a href='http://codepen.io/buzzth'>@buzzth</a>) on <a href='http://codepen.io'>CodePen</a>.</p>

<script async src="//assets.codepen.io/assets/embed/ei.js"></script>

My bad, I'm not exactly sure how to share it
Terrell Vest
@MirPresT
@abel1987 paste the link from the address bar at the top
Terrell Vest
@MirPresT
@Abel1987 are you trying to center the video ?
Gordon Davidescu
@gordondavidescu
funnily I am in the very early stages of the weather app. I get a feeling I am not calling the API right
Buzz Tarek
@buzzth
Yes, the one on the very bottom to be precise.
And also, elements such as the boxes aren't responsive when windows are smaller like in this case for instance.
classact1
@classact1
@gordondavidescu you're calling it right
Terrell Vest
@MirPresT
@buzzth ok if you make your iframes display block and give them a margin top and bottom of 0 and a margin left and right of auto it will center them. I just tested it on your codepen
Gordon Davidescu
@gordondavidescu
I am? That's good. I wonder why it's not getting me the data I am thinking it should
glad I'm calling it right at least
Terrell Vest
@MirPresT
@gordondavidescu I would recommend using jquery if you are still learning how to make ajax requests.
classact1
@classact1
@classact1 but remember that server will send you information in JSON format and JSON is a string. You have to JSON.parse(weatherInfo);
Yotam Levy
@Heaser
Hello
Ok, So I've searched google but I couldn't find an answer.
classact1
@classact1
@gordondavidescu but remember that server will send you information in JSON format and JSON is a string. You have to JSON.parse(weatherInfo);
Terrell Vest
@MirPresT
@Heaser what are you stuck on ?
Yotam Levy
@Heaser
Is there a way CSSly to make the text animate but, the background of said text not animated?
Terrell Vest
@MirPresT
animate in what way ?
Gordon Davidescu
@gordondavidescu
ding ding! that's what I am missing, thanks @classact1
CamperBot
@camperbot
gordondavidescu sends brownie points to @classact1 :sparkles: :thumbsup: :sparkles:
Buzz Tarek
@buzzth
@MirPresT sorry how would you go about changing the display to block?
CamperBot
@camperbot
:star: 279 | @classact1 | http://www.freecodecamp.com/classact1
Terrell Vest
@MirPresT
// remove all your styles on the video box
.video-box {

}
// add display block and margin 0 auto to the iframe which holds the youtube vids

.video-box iframe{
  display: block;
  margin: 0 auto;
}
@Heaser what would you like to do to the text?
Yotam Levy
@Heaser
I'd like the text to pulse
Terrell Vest
@MirPresT
@Heaser but only the text and not the container correct?
Yotam Levy
@Heaser
Correct.
Also I'm adding it via JQuery, because there's a condition in which the text pulsates.
Gordon Davidescu
@gordondavidescu
Wow. Calling that api throws a 404 error
Terrell Vest
@MirPresT
@heaser Would you prefer to use jquery or css to do the animation ?
Yotam Levy
@Heaser
Jquery..
@MirPresT
Robert Richey
@0x0936
@Heaser use jQuery to toggle a class that adds a css animation to pulse the text
Yotam Levy
@Heaser
I did that, but the background pulsates as well.
Terrell Vest
@MirPresT
@Heaser can I see your css ? Are you targeting the individual text element?
Yotam Levy
@Heaser
@MirPresT Sure.
Nicholas
@nick88p
Good day, Can someone please tell me how to loop through an AJAX request? - I've tried forEach, $.each, for loop, having the ajax request in the .push(here) for the array and nothing is working properly. Furthermore, I can't find any solutions online to this. Any help would be much appreciated. Here my latest attempt.
$(document).ready(function(){

  var users = ["freecodecamp", "storbeck", "terakilobyte", "habathcx","RobotCaleb","thomasballinger","noobs2ninjas","beohoff"];
  var baseURL = "https://api.twitch.tv/kraken/users/";
  var callBack = "?callback=?";
  var userInfo = [];

$.each(users,function(){
      $.ajax({
        type: "GET",
        url: baseURL + users + callBack,
        async: true,
        dataType: "jsonp",
        success: function (data) {
        userInfo.push(data);
        console.log(data);
        }
      });
    });
});
Yotam Levy
@Heaser
@MirPresT please reload, I had a bug in the code, Fixed it now
Terrell Vest
@MirPresT
@Heaser which part are you trying to pulse cause right now the offline pulse looks like its working...
ok one sec
Yotam Levy
@Heaser
Offline is pulsing, But the white background of the offline is pulsing as well @MirPresT
lcaptain47
@lcaptain47
I'm quite stuck on what else I want to do with the tribute page. I know I would like to center the timeline text while keeping it aligned to the left, but I have yet to find a solution. This is what I have so far: http://codepen.io/lcaptain47/pen/xVxZMR I'm quite fine with critical feedback. Anything will help.