- Use
git
to clone thisevents101
repository (or if that's not possible download a zip - you should prefer and aim to usegit
from now on), e.g:
git clone https://github.com/portsoc/events101.git
- From your new local
events101
folder, openindex.html
in a browser to see which tests fail. - Edit
index.js
; improving and adding code until all the tests pass. - The tests are all defined in
test.js
app. Look at this file (but don't change it) to understand exactly how the code you write is being automatically exercised.
For the purpose of keeping the tests as atomic as possible we have requested that you create several 'attacher' functions. In real apps it is likely that various attachers will be grouped together during program initialisation.