The instructions given on pages 481-483 did not work. It appears that the described method is outdated.

I've got the JavaScript Blues

When the browser first sees the script, there must be a body for the text to change. If I put the script in the head, no body exists when the browser reads the code, so it gets confused. If I place the script in the body, there is a body, so the script can change it.