Learning javascript

I am currently using Javascript, the ultimate guide to learning Javascript from scratch. Having studied Java, PERL and other programming languages, I have the habit of solving small exercises in order to check / better understand what I am also learning. In the case of Javascript, I found that the book does not need exercise. Infact, I did not find the exercises in the only other book [ Beginning Javascript ] Me too.

Is there any source that I can use for exercises in Javascript?

+4
source share
7 answers

Once you get a good feel for the syntax, Crockford has a page that compares javascript with Scheme and walks you through the short book The Little Schemer . The article is appropriately called Little JavaScripter .

After reading the book, they changed me. Or maybe changed. Or has changed. In a good way. There are very few books that deeply change what you think. This is one of these books.

It went through the chapters and translated the functions into javascript. As an exercise, you can do the same and compare your decisions.

+5
source

I learned Ruby using Ruby koans and they are an amazing way to learn any language. There is a set of Javascript koans .

Try them for a day or two, use it if you like it.

+5
source

I would suggest reading all that Douglas Crockford has to say about JavaScript reading “Good Details” , writing as many programs as possible and running them through JSLint with “Good Parts” and rewriting until he stops complaining and reads jQuery source. It would also be nice to read Dmitry A. Soshnikos’s version of the ECMA-262 specification . (This is very specific and goes to the smallest detail, but also covers all possible aspects of the language)

It would be nice to mention that you do not need to follow Crockford's conventions on writing if you do not want to (although I would recommend writing strictly for ES5), but limiting yourself to them while you learn the language is definitely the way to go.

+2
source
+1
source

I would try http://www.codecademy.com/ They are fairly new and offer nice step-by-step tutorials that require a bit of code for each step. They also have interesting problems (create a cash register, create a blackjack game). The forum is also very useful. The best place I've found to learn javascript.

0
source

I checked so many guides online and came to the following conclusions:

Check out Codeacademy for the basics. Once you're done, go to javascript.info - this guide covers LOT and is very detailed and well explained with the exercises.

0
source

I used http://w3schools.com/js when I first found out JS - they have a functional, but far from excellent "try it yourself" editor to change their examples, not quite the same as exercises, but they can give you same benefit (messing around to better understand)

-2
source

All Articles