Exercise 2 - Making a View

In this exercise, we will be creating a View. We will be instantiating it with our previous model.


  1. If you didn't finish the last exercise, download the solution files from here.
  2. Continue from your previous files or the solution files.
  3. Open SpecRunner.html in a browser
  4. Click on Spec List on the upper-left hand corner.
  5. Make changes in src/app.js to make all the tests for Exercise 2 pass.
  6. To see your work, open index.html in your browser

Bonus - Do something fancy

  1. Do something fancy with that onClick event, and maybe add some more events on top of that!