Lesson #2 Review
Questions
1. Suppose you are asked to design a web site
for the school club that you belong to. Most people in the club have either
Navigator 3.0 or above. Which version of JavaScript would be best to use
for the portions of the web site that need JavaScript capability.
2. JavaScript program
statements must be enclosed within what tags to work in a web page?
3. If a browser
is too old to recognize and execute JavaScript, what does it do with the JavaScript
statements that are coded into a web page?
4. The comment tags for HTML documents
are <!-- comment goes in here --> but the symbol for comments in JavaScript
are:
5. In order to hide
JavaScript from older browsers we should always do what?
6. In JavaScript,
alert() is not considered the same as Alert() because JavaScript is case-sensitive.
7. In order to display the
message "Welcome to the Rock Candy Web Site" in the status bar
of the user's browser window, you would code the JavaScvript statement:
8. Here is a JavaScript statement. [document.writeln("Your
maximum fine is $500.");] The name of the object is:
9. Here
is a JavaScript statement.[ document.writeln("Your maximum fine is
$500.");] the name of the method is:
10. alert() is a method that
does not need to be associated with any specific object.
Return to Top of Page | Back
to Main Menu