You can get a copy of this code repository in several ways:
- use
git
to clone it:orgit clone https://github.com/portsoc/js201.git
- use the GitHub CLI tool:
gh repo clone portsoc/js201
- download a zip of this repository
- This has the disadvantage that if we publish improvements or bug fixes it will be harder for you to get hold of them (conversely using
git
you just have to typegit pull
at the command line to receive the updates).
- This has the disadvantage that if we publish improvements or bug fixes it will be harder for you to get hold of them (conversely using
If you're not familiar with the git
& gh
tools, or you have not yet installed them on your machine, we strongly suggest that you do install them and start the very worthwhile discovery process.
From your new local copy of the code:
- open
index.html
in your browser to see the listing of tests and their pass/fail status, - edit
index.js
to add code until all the tests pass, - try to improve the code to be cleaner, while checking that the tests continue to pass,
- and you may also examine (but do not change)
test.js
to understand exactly what is being tested.