re: Review my JavaScript? #2 VIEW POST

re: So here is a pen that is the closest to what you started with: codepen.io/anon/pen/PvXXqO What I did was first I changed the condition for the whi...

Corey!!! I love what you did and wow you made it preform so much better!!! Thank you for all the comments in the code, I will be studying this to make sure I can apply this into my future projects.

I like the fact you don't have to reset the browser or use any breaks! That makes it so much cleaner and easier to understand.

Thank you very much!

I'm glad you liked it and you found it easy to understand! You had a great start I just tweaked it a bit! You even knew what functions to call for the random number generation!

Ya breaks definitely have their place but I think it can be easier to reason about without them sometimes.

code of conduct - report abuse