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
Curtis
@CurtisJCamp
Hey I was wondering if anybody could help me out with my tic tac toe game. I want the computers turn to show up slower after the human player.
James Moore
@James-N-M
@CurtisJCamp this is cooler than anything ive ever made after 3 years of computer science
LOL
Curtis
@CurtisJCamp
Lol thanks man
James Moore
@James-N-M
@CurtisJCamp but i think jquery has a animation thing ???
@CurtisJCamp so maybe animate the X appearing to give it that vibe
Curtis
@CurtisJCamp
Yeah I think you're talking about the .show and .hide right?
Tiago Correia
@tiagocorreiaalmeida
yeah @James-N-M have you gotten trough the initial process?
Curtis
@CurtisJCamp
I am using that for a couple other things, I'm just having trouble integrating that into the eventlistener's
Moisés Man
@moigithub
settimeout ?? @CurtisJCamp
to make comp turn slow
Curtis
@CurtisJCamp
I like that, let me try that real quick
James Moore
@James-N-M
@tiagocorreiaalmeida Im probs not going to today
I'm working on this project, then .... probs gonna post up and wathc a movie then work on school stuff
Curtis
@CurtisJCamp
Hey I've never used setTimeout before and I'm not exactly sure where to implement it @moigithub
do I use it on the minimax function?
Moisés Man
@moigithub
setTimeout( ()=>{ alert('hello world')} , 3000);
it will wait 3 seconds.. before poping ' hello world'
( )=> {...}<--- arrow function
above is the same as
setTimeout( 
function (){  
alert('hello world') 
} , 3000);
soo if u wanna slow comp turn.. find the code which trigger comp turn.. and wrap in on a settimeout
setTimeout( /*the function call to make computer turn */ , interval )
Curtis
@CurtisJCamp
Ohh i got it thanks @moigithub and @James-N-M
CamperBot
@camperbot
curtisjcamp sends brownie points to @moigithub and @james-n-m :sparkles: :thumbsup: :sparkles:
:cookie: 292 | @james-n-m |http://www.freecodecamp.org/james-n-m
:star2: 3734 | @moigithub |http://www.freecodecamp.org/moigithub
Curtis
@CurtisJCamp
setTimeout( function bestSpot(){ return minimax(origBoard, aiPlayer).index; } , 3000); am I doing this right?
James Moore
@James-N-M
http://159.89.121.251/buycoin somebody try this and when you click a card, tell me does it say hello this is workin the console / does it update the coin text box value
Curtis
@CurtisJCamp
Yep I get a "Helloo this is working" and an updated coin text box value
James Moore
@James-N-M
im so confused LOL
for what ever reaspm
when i open the link it doesnt work
Do you guys think its like something to do with Cacheing ??
@CurtisJCamp thanks though buddy
CamperBot
@camperbot
james-n-m sends brownie points to @curtisjcamp :sparkles: :thumbsup: :sparkles:
:cookie: 323 | @curtisjcamp |http://www.freecodecamp.org/curtisjcamp
DarkxPunk
@DarkxPunk
Anyone can help me with some flex positioning?
CallMeOrange
@EgnaroDev
Hello
Have anyone tried beta freecodecamp? Is it completed?
Aditya
@ezioda004
@EgnaroDev I did some ES6/React/Redux stuff and it seems mostly stable than before
CallMeOrange
@EgnaroDev
Oh, thanks. Good to know that it is stable and since it is called "beta" I'm assuming it is not completed yet
I'll do some of the lessons to review since I have completed many lessons on fCC already
@ezioda004 thanks
CamperBot
@camperbot
egnarodev sends brownie points to @ezioda004 :sparkles: :thumbsup: :sparkles:
:cookie: 519 | @ezioda004 |http://www.freecodecamp.org/ezioda004
Zebralight
@zebralight
hello. I was wondering why there's this empty white space that precedes the li elements in my ul even though I set the margin on the li elements to 0: https://jsfiddle.net/6q41f9h2/
Brad
@bradtaniguchi
@zebralight let me check it out
Yea you got 40px margin left of the button for some reason, let me look deeper...
Zebralight
@zebralight
ok
Brad
@bradtaniguchi
not margin, padding sorry
Alright i got it
its because your doing this on an ul element, which is an unordered list element. Which comes with the "dot" for each element right?
Well to make room for the dot the ul tag adds 40px padding to the left. So even tho you removed the dots, the padding remains
Zebralight
@zebralight
ah, should I not use ul and li in this manner, when I have a flex container and flex items?