1. What is a reserved word? Give an example.
    A keyword reserved for JS which cannot be used for variables, identifiers, functions etc...
    true, if, else etc.. page 34 of text book.
  2. Is JavaScript case sensitive?
    Yes, it is case sensitive.
  3. What is the purpose of enclosing statements within curly braces?
    Curly brackets allow more then one statement or expression to act as one.
  4. What is the latest version of JavaScript? Where can you find this information?
    ECMA - W3C -WIKI: As of 2009, the latest version of the language is JavaScript 1.8.1. It is a superset of ECMAScript (ECMA-262) Edition 3. Extensions to the language, including partial E4X (ECMA-357) support and experimental features considered for inclusion into future ECMAScript editions, are documented here.[31]
  5. What is the difference between the JavaScript src and type attributes?
    src is used as an attribute for external file association or sourcing ( src="relative or absolute path/file.js") ; type is used for specifying the content type "text" and scripting language "javascript". ( type="text/javascrpt" ).

Back to Assignment Web Page.

Valid XHTML 1.0!

Valid CSS!

W3C XHTML validation page

W3C CSS Validation Page