Elegant Code

Getting better @ modern web dev

Beginning With JavaScript

First things first. I HIGHLY recommend that you purchase this book: Learning JavaScript & its companion site with errata HERE (Clears up a lot of the negative review complaints). Additionally, I will recommend the “You don’t know JS” free online books as great resources to help you learn JavaScript. I will link to specific chapters for various topics below.

I teach an Introduction to Programming Logic class for a community college as well as for a semester at our high school. I use JavaScript for this class only insofar as to allow the students to test their algorithms and understand the coding process. I don’t teach any language features other than what are strictly needed to perform the coding projects, for example the library readline-sync so they can read input from the command line. This is the order I use for my students, over a 16-week period:

I have them download & use Node.js to do all their projects so that we aren’t dealing with web browsers. It’s trivial for my students to use IntelliJ to write their code, then run it directly from the toolbar to see their output! Good stuff. For my web dev classes, we go WAYYY more in depth with actual JavaScript on bot the front & back ends and I will cover that in the next posts.

Here are the list of learning resources I use (You don’t have to do every one, but it wouldn’t hurt to at least skim what you don’t go in depth with):

  1. Code layout & syntax/style - I provide this VIDEO for my students.
  2. JavaScript Course
  3. My video on selection logic
  4. A nice JS Basics course
  5. An alternative take on learning JS
  6. Finally, Microsoft’s take on it, which is actually very good! (I personally loathe jQuery, so I can’t recommend those parts at the end.)
  7. Regular expressions - For your library, I would recommend these two books: Mastering Regular Expressions + Errata & Regular Expressions Cookbook + Errata. THIS is a great tutorial, THIS is a great regex tester, & THIS is a great cheat sheet.
  8. File I/O demo code. Also notice the input validation.
  9. Remember to utilize the MDN.
  10. If you get bored, try Codecademy!

That is a TREMENDOUS amount of learning material to get you up & coding with JavaScript. There is probably 200 hours of stuff on this page. Sorry about that!

⬅️ Go back
comments powered by Disqus