Short Answer: Learn javascript by proving concepts with tests. :)
Longer Answer: This is a compilation of Javascript "code snippets" as I work through resources to master Javascript. Each resource (book/guide/tutorial/etc) has it's own folder with Jasmine tests proving how the concepts apply in a semi real world context.
Download the project (click here). Open the zip file, and find the learning_javascript/resources/professional_javascript-zakas/SpecRunner.html
file, and double click on it. This runs the tests in your browser. Yay!! You're up and running.
-
Install node,
- Mac,
brew install nodejs
or node downloads page - Linux,
sudo apt-get install node
- Windows, node downloads page
- Mac,
-
Install git,
- Mac,
brew install git
or git downloads page - Linux,
sudo apt-get install git
- Windows, git downloads page
- Mac,
-
Shell Commands
git clone https://github.com/denvercodeclub/learning_javascript.git
cd learning_javascript
npm install -g grunt-cli
npm install
# using npm which calls to grunt
npm test
# using grunt
grunt test
- Javascript Patterns
- (open to ideas)
We'd love your help! Open a Github issue about anything. The pros, cons, and everything in between. We'll make adjustments to the project so that the project is as helpful and as easy as possible.
Credits to the Denver Code Club for an awesome group of people to learn from.