JS and Advanced HTML

Tutorial 02 Operators and Expressions

  • Work with event handlers
  • Insert a value into Web form field
  • Create and work with date objects
  • Extract information from date objects
  • Work with arithmetic, unary, conditional and logical operators
  • Understand the properties and methods of the Math object
  • Understand how JavaScript works with numeric values
  • Run time-delayed and timed interval commands
Tutorial New Year's Bash
Case Study Tutorial 1 Case 4
Case Study Solution

Key Terms

Learned to work with date objects, math functions, and timed commands to create a countdown clock.

Session 2.1 created event handlers that allow you to run functions in response to particular events occurring within a web page and browser.  Set values of fields within a Web form.  Introduced the date object and discussed how to work with properties and methods of date in order to display a specified date in a Web form.

Session 2.2 discussed how to work with numeric values in JavaScript.  Also covered how to use comparison operators to apply different possible values to a single variable.  Discussed timed commands which run a function at a specified time interval.