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
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.
Terrell Vest
@MirPresT
@Heaser where are the styles for the "its live " element ??? I dont seee them in the css ? are you linking another codepen ?
Buzz Tarek
@buzzth
@MirPresT Everything is working better now. Thank you for your help.
CamperBot
@camperbot
buzzth sends brownie points to @mirprest :sparkles: :thumbsup: :sparkles:
:star: 284 | @mirprest | http://www.freecodecamp.com/mirprest
Yotam Levy
@Heaser
@MirPresT Nope.. I don't have them.
Terrell Vest
@MirPresT
@Heaser oh I see it in the javascript... one sec
Sujit Karki
@Swoozeki
@lcaptain47 Look into Bootstrap's grid system
lcaptain47
@lcaptain47
Okay @Swoozeki I'll give it a shot.
Robert Richey
@0x0936
@Heaser here is one way to fix it fork of your pen. basically put 'Offline' into a span given display inline-block. Updated jquery to target this span for the animation.
Gordon Davidescu
@gordondavidescu
this is what I have now -- and it's giving me a 404 error
Yotam Levy
@Heaser
Thank you @0x0936 but, Now the text does not pulsate.
CamperBot
@camperbot
heaser sends brownie points to @0x0936 :sparkles: :thumbsup: :sparkles:
:star: 1208 | @0x0936 | http://www.freecodecamp.com/0x0936
Robert Richey
@0x0936
@Heaser fixed. I made that change in dev console and forgot to put it in the pen. refresh to see it working
0x0936 @0x0936 forgot to make the span an inline-block
Yotam Levy
@Heaser
Oh ok
Thank you!!
Terrell Vest
@MirPresT
@Heaser I had fixed things as well but then the codepen crashed, I see someone else was helping as well. did you get it figure out ?
Robert Richey
@0x0936
:+1: :)
Yotam Levy
@Heaser
@MirPresT Thanks to both of you
CamperBot
@camperbot
heaser sends brownie points to @mirprest :sparkles: :thumbsup: :sparkles:
:star: 285 | @mirprest | http://www.freecodecamp.com/mirprest
Yotam Levy
@Heaser
Yup :)
Terrell Vest
@MirPresT
Ok great.. Yea sometimes you just have to change the structure of your html