This is your final exam. If you got this working, take yourself out to dinner. If you gave it a good shot, take yourself out to dinner. Heck, if you've read to this point in the book, take yourself out to dinner.

The assignment was to add these critical features to the To Do list application described in the chapter:

  • Allow new users to join the service

  • Allow a user to permit another user to access his or her To Do list

Only the HTML file containing the JavaScript needs to be changed here. First, you needed to make a change to the HTML at the bottom of the page to add the "join" link to the login section:

<h2>Login Section</h2> <div id = "loginArea"> <a href = "#" onClick = "displayLogin(); return false;">login</a> or <a href = "#" onClick ...

Get The Book of JavaScript, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.