errata; print Book, Chapter 4 page 108
Closed this issue · 4 comments
michealbeatty commented
In the first example of adding an if statement to test for keyCode 13, the example is
if (keyCode === 13) which generates an uncaught reference error.
Should be as follows
if (event.keyCode === 13)
semmypurewal commented
Thanks, this is definitely errata! Hope to post it to the web page tomorrow, will update you here when I do.
semmypurewal commented
This is definitely an error. I've added a post about it here:
http://learningwebappdev.com/errata/chapter4/2014/03/23/chapter-4-keyCode-error.html
If you'd like, I can update the post with your real name to give you credit (and link to your Twitter or LinkedIn profile). Thanks very much!
michealbeatty commented
Thanks, the real name is Micheal Beatty and the twitter is @mwbeatty
semmypurewal commented
OK, fixed! Thanks :)