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
Callum Ward
@callumquick
Nvm, I've sorted it for now
Tam Nguyen
@bankplank
Hello, can someone look at my code? Sometimes it will fetch the JSON data, and other times nothing.
https://codepen.io/Tamn1988/pen/QdjJqO?editors=1011
DJ Pelland
@dna113p
@callumquick I don't see any react
Callum Ward
@callumquick
@dna113p Yeah sorry I fixed the issue with react, then realised react was overkill in the first place
Tony Miri
@TonyMiri
Maybe I'll have better luck here. I'm working on the Simon game, and I need to make a smaller circle in the center for the controls and logo and whatnot. I'm pretty sure I can get it to work by using the relative positioning or floating it, but I'm not sure exactly which would be better. I also had hoped to make it responsive, but the way it's working now, I can't set my colored wedges with percentage based sizes for some reason. http://codepen.io/TonyMiri/pen/WRQYgM
Tom
@moT01
@FatTone225 im working on simon as well, ...i got my controls in the middle with absolute position
Kaz Baig
@kbaig
Could somebody give me a hand on the twitch.tv challenge?
Sara Soliman
@solimansara
Hi, I found this drop menu code that i tried to apply in my portfolio page but it is not working. can someone please help me out? http://codepen.io/Solimansara/pen/YNzXJp?editors=1000
Tony Miri
@TonyMiri
@moT01 Is yours responsive for mobile?
Tom
@moT01
not sure if its the way you would want to go
yes
i made it as responsive as it gets
Tony Miri
@TonyMiri
Did you use bootstrap?
Tom
@moT01
no
Tony Miri
@TonyMiri
Flexbox?
Tom
@moT01
yes
Tony Miri
@TonyMiri
I see.
And when you set the relative position, you use percentage?
Tom
@moT01
still learning, flexbox and positioning, but i got it to work
i used a formula, % - vw or something, lemme paste it to codepen and ill link it
Tony Miri
@TonyMiri
@moT01 Thanks!
CamperBot
@camperbot
:cookie: 453 | @mot01 |http://www.freecodecamp.com/mot01
fattone225 sends brownie points to @mot01 :sparkles: :thumbsup: :sparkles:
Tony Miri
@TonyMiri
@solimansara It looks like you have 2 sets of code for navbars?
Walid Ashri
@walidashri
@solimansara u need to load jQuery and bootstrap.js
Tony Miri
@TonyMiri
@moT01 Aye it looks like I've got some learning to do. Thanks again.
CamperBot
@camperbot
fattone225 sends brownie points to @mot01 :sparkles: :thumbsup: :sparkles:
:warning: fattone225 already gave mot01 points
Tony Miri
@TonyMiri
@walidashri @solimansara And jQueryUI no?
Tom
@moT01
@FatTone225 im not sure im doing things the way theyre supposed to be done, but im pretty happy with how it's looking so far
Tony Miri
@TonyMiri
Yeah it's looking good. You're making more progress than me so you're doing something right lol
uriznik
@uriznik
@FatTone225 thought I'd better respond too :) http://stackoverflow.com/questions/22406661/how-to-make-one-circle-inside-of-another-using-css has a few examples that might be useful
Tony Miri
@TonyMiri
@uriznik Awesome! I'll check it out. Thanks :smile:
CamperBot
@camperbot
fattone225 sends brownie points to @uriznik :sparkles: :thumbsup: :sparkles:
:cookie: 482 | @uriznik |http://www.freecodecamp.com/uriznik
Sara Soliman
@solimansara
@walidashri I found this code at w3schools.com for bootstrap...i didnt learn jquery yet so i dont want to use it...is the code i have in jquery?
Kaz Baig
@kbaig
Hey guys, I'm working on the twitch app. Can't seem to figure out why my stream names aren't becoming links to their channels. Help would be appreciated. https://codepen.io/kbaig/pen/vgGXyX?editors=0010
Tom
@moT01
@solimansara no, jquery is a javascript library, it would go in the js tab on the far right
uriznik
@uriznik
@kbaig I think the logic to match up the channel may be at fault
Tony Miri
@TonyMiri
@kbaig It looks like your channelObj variable is defined inside that for loop
Also, it looks like that for loop would finish and then you push channlObj to channels
So you'd be pushing the entire array of names
Sara Soliman
@solimansara
So how can i create a bootstrap navigation bar that collapse without using javascript?
Kaz Baig
@kbaig
@FatTone225 the object 'channels' looks fine if you log it at the very bottom though
6thSen
@6thSen
hey guys need some help with my code. I'm working on the random quote generator, and I'm able to generate a random quote when my page first loads up, but when I try to generate a new one by clicking on the button, it doesn't work. Not sure what's wrong. I would really appreciate the help.
$(document).ready(function () {

    // on page load works okay
    $.getJSON("http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1", function (json) {
        $("#quote-content").html(json[0].content);
        $("#quote-title").html(json[0].title);
    });

    // button click action
    $("#get-quote-btn").on("click", function () {
        $.getJSON("http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1", function (json) {
            $("#quote-content").html(json[0].content);
            $("#quote-title").html(json[0].title);
        });
    });
});
uriznik
@uriznik
@kbaig it might be the you do the second getJSON to get the URL and then use the URL before the callback has actually happened
Tony Miri
@TonyMiri
@kbaig Yep I was looking at it wrong
uriznik
@uriznik
@kbaig so you could move any code that relies on the channel(i) call to be put inside the channel() function getJSON callback
Walid Ashri
@walidashri
@solimansara you'll not use it but the libraries must be in ur project check the w3school examples the files are loaded only