50 + examples- Playing with JavaScript




An example of how you should do the 50+ console examples, aka “playin’ with code” – EDIT 11/20/17 based on the dislikes:
Folks, this is how you learn.. you play around. This is not to TEACH YOU, this is to SHOW you how to play around with code. Yes, it’s sloppy. No, I don’t do thing nicely or perfectly or necessarily even correctly… I want my students to try things, experiment, fail, and try again. That’s the only way to learn.

Original source


9 responses to “50 + examples- Playing with JavaScript”

  1. no javascript isn't sloppy, you just need to know how to use it properly, answer holding a string plus int 1 is not going to give you an int incremented by 1 it will give you exactly what was given ie a concatenated string. so apologise lol

  2. Yes, thanks so much for this, D.I.
    I am new to programming and was overwhelmed and pretty frustrated at first because I wasn't getting things right on the first try. Watching this video took the pressure off and changed my mindset and approach. Thanks for reminding us not to be afraid to "make mistakes" – and that experimentation is healthy and "getting it wrong" can be a great way to learn how things work.

Leave a Reply