A physics puzzler that will really make you think!4.14 / 5.00 1,771 Views
Classic arcade shooter with awesome special attacks!!3.84 / 5.00 1,225 Views
Arcade gameplay meets mental calculation!3.95 / 5.00 9,148 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.