jnbutler1815, on 25 November 2012 - 05:15 PM, said:
Doesn't someone know the answer to this question?
Okay, after much research I found that setting the event listener to keypress instead of keyup in the initGame() function, made the Guess The Letter app work for me. It shows the correct keys and only states Not a Letter when you press non letter keys.
It works in latest versions of Chrome, Safari, and Opera, however, it does not work in FF.
I have submitted an errata for this on the book page.
This post has been edited by jnbutler1815: 25 November 2012 - 05:51 PM