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
Darth Skywalker
@adityaparab
when you call the function, whatever is bound to the function using .bind will be reflected in your function.
trieucrew
@trieucrew
okay i think that helps alot
I've been having trouble with asynchronous function and I think that solves my problem
Darth Skywalker
@adityaparab
1st argument to bind is the scope (it will be value of this inside your function) and then 2nd arguments onward are parameters to be passed.
:+1:
Hesham Ismail
@uaefame
Hello, i am trying to build a tribute page for my first html challenge, question? Am i suppose to build one with image, text and URL ? Any other thing to include or these 3 elements
Darth Skywalker
@adityaparab
@uaefame It's your creation. Do whatever you want.As long as it fulfills all the use cases
Hesham Ismail
@uaefame
Alright thanks @adityaparab
CamperBot
@camperbot
uaefame sends brownie points to @adityaparab :sparkles: :thumbsup: :sparkles:
:cookie: 766 | @adityaparab |http://www.freecodecamp.com/adityaparab
trieucrew
@trieucrew
thanks @adityaparab
CamperBot
@camperbot
:cookie: 767 | @adityaparab |http://www.freecodecamp.com/adityaparab
trieucrew sends brownie points to @adityaparab :sparkles: :thumbsup: :sparkles:
grantknaver
@grantknaver
Ok I am stumped can someone help me out
I dont know how to do this
any help would be appreciated
looking on how to accomplish two different AJAX requests
grantknaver
@grantknaver
any help
Kevin
@KevinBruland
sure, are you working on a specific project @grantknaver
grantknaver
@grantknaver
ya @KevinBruland hopefully you can help me
I am working the Twitch problem. Do you think you can help
?
Kevin
@KevinBruland
sure
want to link what you have?
grantknaver
@grantknaver
awesome3
Ill post the link right now
Kevin
@KevinBruland
I have some guesses as to what your problem is, I remember running into issues on that
awesome
Ok here are the problems I am running into
I am trying to post a ajax request for the chanels that are online and the channels that are offline
Kevin
@KevinBruland
side note real quick, .bind is depreciated
grantknaver
@grantknaver
the online is not a problem - or at least it does not seem to be
Kevin
@KevinBruland
so use .on() instead
grantknaver
@grantknaver
gotcha
thanks
Kevin
@KevinBruland
let me take a look
what I actually did for this one
was not preform a second API call,
grantknaver
@grantknaver
I cant figure out what to check for regarding the offline channels. It seems to require a different AJAX request
Kevin
@KevinBruland
well
grantknaver
@grantknaver
what did you check for than
Kevin
@KevinBruland
you see how you have if(response.stream != null) on line 44?
grantknaver
@grantknaver
yep
Kevin
@KevinBruland
thats checking to see if they are online, because that will only fire if they are online, right?
grantknaver
@grantknaver
yep
Kevin
@KevinBruland
you can just do an else statement after that if
grantknaver
@grantknaver
if I put an else
I need to get the logo from somewhere and the AJAX request
for something that is null comes back with no logo or url info