Lecture Notes: How to work with Objects, Functions and Events

Sample Code Files – Download

Applied Objectives

  1. Given the specification for a JavaScript application that requires only the skills presented in this chapter, code, test, and debug the application.
  2. When you test a JavaScript application with Firefox as your web browser, display any error messages in the FireFox Error Console.

Knowledge Objectives

  1. Describe two ways to include JavaScript in the head of an HTML document.
  2. List the primary rules for creating a JavaScript identifier.
  3. Describe the use of JavaScript comments, including “commenting out” portions of JavaScript code.
  4. Describe the syntax for referring to a method or property of an object.
  5. Describe the prompt and alert methods.
  6. Describe the three primitive data types used in JavaScript: numeric, string, and Boolean.
  7. Describe the rules for evaluating an arithmetic expression, including order of precedence and the use of parentheses.
  8. Describe the use of variable declarations and assignment statements.
  9. Describe the use of the \n escape sequence in a string literal.
  10. Describe the use of the parseInt and parseFloat methods.
  11. Describe the rules for evaluating a conditional expression, including the use of the isNan function, the order of precedence for logical operators, and the use of parentheses.
  12. Describe the flow of control for an if, while, or for statement.

Related Videos

TBA