Sams Teach Yourself JavaScript in 24 Hours

Sams Teach Yourself JavaScript in 24 Hours

By Michael Moncur

Quiz

Test your knowledge of the topics covered in this Hour by answering the following questions:

Questions

1:

Which of the following is the latest DOM recommendation from the W3C?

  1. DOM 1.5
  2. DOM level 1
  3. DOM level 2
A1:

c. DOM level 2 is the latest W3C recommendation.

2:

When should you use a new JavaScript feature?

  1. Immediately
  2. As soon as it's supported by browsers
  3. As soon as it's part of a standard, and browsers that support it are widely available
A2:

c. Wait until JavaScript features are standardized and widely available before implementing them.

3:

Which of the following is an important way of making sure your scripts will work with future browsers?

  1. Follow HTML, JavaScript, and DOM standards.
  2. Spend an hour a day downloading the newest browsers and testing your scripts.
  3. Wait until the very last browsers are released before writing any scripts.
A3:

a. Following HTML, JavaScript, and DOM standards is an important way of making sure your scripts will work with future browsers.

Share ThisShare This

Informit Network