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
Onome Sotu
@onomesotu
let (a = 2) {
    console.log( a ); // 2
}
A-J Roos
@Asjas
Yeah I have it opened.
Onome Sotu
@onomesotu
ok good
@Asjas but thanks, I will read up on performance now :)
CamperBot
@camperbot
onomesotu sends brownie points to @asjas :sparkles: :thumbsup: :sparkles:
:cookie: 312 | @asjas |http://www.freecodecamp.org/asjas
A-J Roos
@Asjas
No i didn't mean performance. I meant read the entire part of Implicit vs Explicit Blocks. Top to bottom. The book gives the answers
Onome Sotu
@onomesotu
yeah.. found that out. thanks Use original ES6 syntax or trans-pile using let-er
Alan Price
@alanpaulprice
Hey guys, I was wondering if anyone could help me figure out why there is an extra, unwanted delay before my fade in animation is happening. It's on the keybinds info at the bottom of the page: https://alanpaulprice.github.io/metronome/
I have it set to a 1.5 second delay, but it should be fading in at the same time as the other info on the left
Tom
@moT01
@alanpaulprice 190-193 in the css
i think
Alan Price
@alanpaulprice
@moT01 i have both #keybinds-legend-keys and #keybinds-legend set to do the same animation, how come they're not acting identically? can you spot what i'm doing wrong?
Tom
@moT01
three `
Alan Price
@alanpaulprice
oops!
// ===== ANIMATIONS =====

#bpm-readout {
  animation: animateFade 1.5s ease-in both;
}

#keybinds-legend-keys, #keybinds-legend {
  animation: animateFade 1.5s 1.5s ease-in both;
}

@keyframes animateFade {
  0%{ opacity: 0 }
  100%{ opacity: 100% }
}

//=====

#wrapper {
  animation: descend 1.5s ease-out both;
}

@keyframes descend {
  0%{ margin-top: -1750px }
  75%{ margin-top: 25px }
  100%{ margin-top: 0 }
}
Tom
@moT01
you can edit or delete messages with the options at the right of the message - 3 little dots appear on hover
so i think what is happening after a short look - is that you have an animation on both the container and one of the items in the container
Alan Price
@alanpaulprice
thanks, it's deleted
Tom
@moT01
so the container comes in - then the item with the animation comes in 1.5 seconds after
Alan Price
@alanpaulprice
haha damn it, it's always something really dumb ..
@moT01 thank you!
CamperBot
@camperbot
alanpaulprice sends brownie points to @mot01 :sparkles: :thumbsup: :sparkles:
:cookie: 926 | @mot01 |http://www.freecodecamp.org/mot01
Tom
@moT01
well, try it
im not sure
Alan Price
@alanpaulprice
i have, it works the way i expected now :)
Tom
@moT01
cool
Alan Price
@alanpaulprice
thanks again mate
Onome Sotu
@onomesotu
Can anyone explain how to use 'normalize.scss' if installed via npm?
Do I have to require it in the gulpfile?
Onome Sotu
@onomesotu
I solved it
sharkantropo
@sharkantropo

Hey community. I'm trying to fill up gaps on my attempt to code an unbeatable AI for my TicTacToe challenge.
Here's the codepen, don't mind the rough css: tictactoe challenge.
What I want to point out can be appreciated here: on this doodle. This shows grosso modo how the AI predicts next play and try to win the game or sabotage player's victory for a draw if winning is not possible. Some observations:

1) Recursion stops right after finding an end stage condition(draw/win/lost), not after filling up the board and then evaluate it.
2) It doesn't discriminate boards with same minmax value. It just returns the first board with the lowest minmax found.

Thus I think the issue should be lingering within these two.

Kelsey
@iverunamok
Hi there everybody! Would love to get any feedback on my Tribute Page challenge(<a href=https://codepen.io/iverunamok/pen/LxrqZJ target="_blank">Click here !</a>)... I am specifically having trouble working with bootstrap and getting the text and some pictures to be mobile responsive and would really appreciate anyone that might be able to check over my code to see if there is something that jumps out at them! watching bootstrap tutorials now!
haha well... that link didn't work...
alpox
@alpox
@sharkantropo Its very hard to read through your code. It seems that you don't follow the minmax principles (or only align to it a little) and blew your code up quite much and it gets hard to track what is where. I'm sorry that i cannot give much feedback on this without analyzing it for an hour or more
sharkantropo
@sharkantropo
@alpox thanks,I know It's hard to track, even when I tried to put everything together as attributes of an object. That's why I've uploaded that image as support material. Why It seems I don't follow minmax principles?.
CamperBot
@camperbot
sharkantropo sends brownie points to @alpox :sparkles: :thumbsup: :sparkles:
:star2: 1492 | @alpox |http://www.freecodecamp.org/alpox
alpox
@alpox
@sharkantropo I don't exactly understand your way of calculating the loss/gain for a certain player. Also, your datastructures seem overcomplicated to handle
I'm not sure if the overall dataflow works the right way because i cannot track it right :D
Tom
@moT01
@iverunamok i've never seen the <body> inside a div like that - probly not a good idea
instead of 12 <br> tags you could add some margin for spacing
i dont think the <center> tag is still used
not sure on the <font> one either
Kelsey
@iverunamok
@moT01 cool... thanks for the feedback!
CamperBot
@camperbot
iverunamok sends brownie points to @mot01 :sparkles: :thumbsup: :sparkles:
:cookie: 927 | @mot01 |http://www.freecodecamp.org/mot01
Tom
@moT01
i see some indenting in the code that probly shouldn't be like that...