Assignment 2: Answer
Right above is the script's effect. You get the date. If you got it to work, then you should have encountered two errors. The first should have been a Syntax error claiming "...x" was not defined. The quickest way of fixing the error was to erase the text. I put it in for fun.
Close this window to return to JavaScript Primer #1 |