The workshop contains quiz questions and exercises to help you solidify your understanding of the material covered. Try to answer all questions before looking at the “Answers” section that follows.
- The user’s machine running a web browser
- The web server
- A central machine deep within Netscape’s corporate offices
- A browser
- A text editor
- A pencil and a piece of paper
- Storing numbers, dates, or other values
- Varying randomly
- Causing high-school algebra flashbacks
- The END statement
- b. Any text editor can be used to create scripts. You can also use a word processor if you’re careful to save the document as a text file with the .html or .htm extension.
- a. Variables are used to store numbers, dates, or other values.
- b. Your script should end with the
- Add a millisecond field to the large clock. You can use the getMilliseconds function, which works just like getSeconds but returns milliseconds.
- Modify the script to display the time, including milliseconds, twice. Notice whether any time passes between the two time displays when you load the page.