Snake Re-imagined And Taken To The 3rd Dimension!3.99 / 5.00 5,003 Views
Be a badass and go on an epic kung fu quest!3.90 / 5.00 6,089 Views
Learn puppet reptile's best ABCs in this physics-driven interactive storybook3.88 / 5.00 5,925 Views
Learning from a book for both would be best. I can't think of any offhand, but most books you find will probably be a solid resource; the more recent the better.
Also, in your browser, you'll want to use "developer tools". If you are using Google Chrome, this is a press of the F12 key away. You'll spend most of your time here in the "Console tab". You can try one-liners of code in there to get direct output. If you are working from a script, you can send output there as well using the following:
console.log('output goes here');
If you are using Firefox, you'll want to install Firebug for the same functionality.
If you are using Internet Explorer, you'll probably want to change browsers.
That reminds me Douglas Crockford also did a lecture on the subject. It's a good talk; I recommend it.
At 2/19/13 05:38 AM, Mich wrote: I also recommend using JsFiddle for when you are learning and experimenting. It makes it very easy to try things out.
Agreed, jsfiddle is great.
There's also JS Bin which basically does the same thing, but in a different way; I find JS Bin is a bit better for more complicated tests though.