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
Morchid Chellali
@Morched23MJ
@khaduch Thank you, got it done.
CamperBot
@camperbot
morched23mj sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3245 | @khaduch |http://www.freecodecamp.com/khaduch
Morchid Chellali
@Morched23MJ
@Kowalatam, same lol. Got 5 algos remaining
Richard
@rylew0925
What does the container class do?
Morchid Chellali
@Morched23MJ
Ehm, centers elements inside I think
Richard
@rylew0925
When I omitted the container class, nothing changed
Richard
@rylew0925
is container class needed or can the code still run without it?
iso
@iso1048
@rylew0925 code can run without it. It is not essential
David J. Leys
@davidjleys
Hello everyone. I am having an issue with the TwitchTV JSON API project that has me stumped. I cannot seem to differentiate between an invalid channel and an offline channel. In both cases, the api (using https://wind-bow.gomix.me/twitch-api) returns a stream of null. How would I go about finding out if the channel simply does not exist (rather than offline)?
Tom
@moT01
need to get that data from another request
so if the stream is null you check that url and the returned data should tell you if i recall correctly
David J. Leys
@davidjleys
haha, wow. That is so simple and I have been trying to figure it out for ages. Thanks a ton @moT01 !
CamperBot
@camperbot
davidjleys sends brownie points to @mot01 :sparkles: :thumbsup: :sparkles:
:cookie: 818 | @mot01 |http://www.freecodecamp.com/mot01
Gaurav
@gauravmagan
@tom error code 28p01
pssql cannot connect to the applciation
@davidjleys can we have any other alternative am logging i with sudo
Richard
@rylew0925
is it recommended that I start my portfolio project early or should I just wait until I finish all the FCC lessons?
Ismail Hozain
@ismailhozain
Yo guys I am having issues with my wikipedia viewer main one is that i am having issues with getting the output going and it is not working at all (main request working just fine) https://codepen.io/ismailhozain/pen/OjvzaZ?editors=1010
Tom
@moT01
@rylew0925 i did mine towards the end of the front end projects
@ismailhozain whats up
Ismail Hozain
@ismailhozain
yo
iso
@iso1048
@ismailhozain try putting this line: var searchInput = $("#input").val; inside the click function.
Ismail Hozain
@ismailhozain
did that
Tom
@moT01
so your having problems getting the search term?
add .val();
and yea, it will probly need to be in the button click
Ismail Hozain
@ismailhozain
did that
Tom
@moT01
works for me
 $("#button").on("click", function () {
  var searched = $('#input').val();
   console.log(searched);
and then you're going to need to set the url in there too
Ismail Hozain
@ismailhozain
the url variable?
Tom
@moT01
yes
Ismail Hozain
@ismailhozain
ok
Tom
@moT01
first - button gets clicked
then - get the search term
then create the url
then make the call
you could probly combine the 2 middle steps
Ismail Hozain
@ismailhozain
i am getting the error that the search part of my link is not set
Tom
@moT01
cause you didn't follow my directions
Ismail Hozain
@ismailhozain
?
oh
Tom
@moT01
the way you have it - the url gets set when the document loads , and the #input is empty
you need to set it after the button click
Ismail Hozain
@ismailhozain
ok
not working
Tom
@moT01
dont forget to put () at the end of val
.val();