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
Buzz Tarek
@buzzth
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.
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.