This repo contains code solutions and tests for the Codesmith Summer of JavaScript email series.
Make sure you have installed a recent version of Nodejs. You can download it from Nodejs.org.
If you have git configured on your computer (read about how to do that
here) you
can do $ git clone https://github.com/CodesmithLLC/summer-of-javascript.git
on
a
terminal and download all the code in this repo.
Once downloaded the code can be read through and the tests can be changed or
added to. There are comments in the code that outline some of the though process behind
arriving at the solutions.
To run the tests first install any dependencies from npm by running
$ npm install
in a terminal from inside the summer-of-js
folder. This will download the test
library Tape we're using to run our tests.
A custom test script is provided that allows you to run individual tests for
each challenge. You can run that script by doing:
$ npm test <challenge name>
For example, if I want to run tests for the balance-index
challenge I'll run
$ npm test balance-index
in a terminal window.
If you have a GitHub account, you can click the "Watch" button at the top of this page to follow when any new challenges are added. If you find a bug or want to suggest an improvement open an Issue via the 'Issues' tab on this page.
🎊 👏 🎆