- Use
gitto clone thisevents101repository (or if that's not possible download a zip - you should prefer and aim to usegitfrom now on), e.g:
git clone https://github.com/portsoc/events101.git- From your new local
events101folder, openindex.htmlin 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.jsapp. 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.