Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 19 2020 20:09
    @krisb1220 banned @Gastony
  • May 14 2020 22:39
    @bjorno43 banned @minitechtips_twitter
  • May 14 2020 22:38
    @bjorno43 banned @real-action
  • Feb 01 2020 00:27
    @bjorno43 banned @Ndoua
  • Jan 07 2020 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 2019 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 2019 17:13
    @mstellaluna banned @cmal
  • Jan 08 2019 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
CamperBot
@camperbot
:cookie: 278 | @nitinnair89 |http://www.freecodecamp.com/nitinnair89
Stephen James
@sjames1958gm
@pkshreeman ah. Also, shouldn't you check the results of the user move before making the computer move?
Nitin Chandran Nair
@NitinNair89
i got it 3 days back :D i enjoyed their courses
Amy Walters
@codecampamy
@vinaypuppal And I didn't know you could analyse the html in codepen either - another great tip to help me out - thanks again
CamperBot
@camperbot
codecampamy sends brownie points to @vinaypuppal :sparkles: :thumbsup: :sparkles:
:warning: codecampamy already gave vinaypuppal points
Dr. Paul Kenneth Shreeman
@pkshreeman
@sjames1958gm Good catch...I missed that one..let's see..
Nitin Chandran Nair
@NitinNair89
@pkshreeman before resetting the game, call the color function
Stephen James
@sjames1958gm
@pkshreeman The problem is that you put up the alert in the same event loop as the setting of the last square so it doesn't get a chance to draw the square.
Try this where you call alerter()
setTimeout(alerter, 0);
Dr. Paul Kenneth Shreeman
@pkshreeman
@sjames1958gm didn't work...:(
@NitinNair89 looking into it...
Stephen James
@sjames1958gm
@pkshreeman hmm, did for me. odd
@pkshreeman Without the () - you don't want to call alerter right there setTimeout(alerter, 0) not alerter()
Nitin Chandran Nair
@NitinNair89
just the function name without parenthesis
Dr. Paul Kenneth Shreeman
@pkshreeman
@sjames1958gm interesting...that works.
can you explain?
Stephen James
@sjames1958gm
@pkshreeman Before that change you set the color and call alert, alert is synchronous so it blocks the rendering of the page (putting your color change on the screen)
If you reset the board after the alert then the color change is overwritten.
By using the timeout (even with 0) it gives the browser a chance to render your change before putting up the alert box.
Dr. Paul Kenneth Shreeman
@pkshreeman
ok. awesome! I"m finally done with that one! Thank you very much @sjames1958gm Thank you too @NitinNair89 !
CamperBot
@camperbot
pkshreeman sends brownie points to @sjames1958gm and @nitinnair89 :sparkles: :thumbsup: :sparkles:
:cookie: 279 | @nitinnair89 |http://www.freecodecamp.com/nitinnair89
:star2: 3915 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
Nitin Chandran Nair
@NitinNair89
awesome!
good job :)
Stephen James
@sjames1958gm
@pkshreeman :+1:
EatSleepCodeSheit
@EatSleepCodeSheit
Can anyone explain why my collapsed nav bar doesn't work properly. Didn't touch it since yesterday and it doesn't work now lol
Nitin Chandran Nair
@NitinNair89
@EatSleepCodeSheit just reverse the order of your jquery imports
EatSleepCodeSheit
@EatSleepCodeSheit
ok done - still doesn't work hm.
Nitin Chandran Nair
@NitinNair89
it works for me
refresh the page and try
EatSleepCodeSheit
@EatSleepCodeSheit
Honestly, can you just be my personal little pocket programmer? becauase it doesn't work and then when you try and I try again it does.
@NitinNair89 ty
CamperBot
@camperbot
eatsleepcodesheit sends brownie points to @nitinnair89 :sparkles: :thumbsup: :sparkles:
:cookie: 280 | @nitinnair89 |http://www.freecodecamp.com/nitinnair89
Nitin Chandran Nair
@NitinNair89
hahahaha :+1: @EatSleepCodeSheit
Surely, will help u whenever I can. No worries, that's why we are all here for :D
be sure to "save" the code
Annu Nirmal
@annunirmal
topic: js calculator
help me fixing his bug. 8.2/5.1 gives 8/5.1. basically it removes 1st decimal from the equation
http://codepen.io/nirmalannu/pen/ALJOAP?editors=1010
cannelflow
@cannelflow
how to change navbar color after certain height ? https://blackrockdigital.github.io/startbootstrap-agency/
Artur Arsalanov
@kurumkan
@cannelflow I have made 1:1 copy of this template for my portfolio project. Initailly
but then I changed my mind and remade all from scratch
now I want to make a new portfolio=)
cannelflow
@cannelflow
thanks @kurumkan let me try
CamperBot
@camperbot
cannelflow sends brownie points to @kurumkan :sparkles: :thumbsup: :sparkles:
:cookie: 350 | @kurumkan |http://www.freecodecamp.com/kurumkan
Artur Arsalanov
@kurumkan
welcome
cannelflow
@cannelflow
@kurumkan :+1:
Simon Cordova
@gbsimon87
http://codepen.io/gbsimon87/pen/BLGjbr
Hey guys, was wondering if someone could take a quick look at this Codepen of mine...
I'd like for the user to select a year from the dropdown menu...