JavaScript: Programming with Objects


Overview/Description
This course, JavaScript: Programming with Objects, is an interactive introduction to JavaScript objects and their processes. The learner will gain the skills and knowledge to use JavaScript's built-in objects and create custom objects.

Target Audience
This course is designed for Web developers who already possess basic JavaScript knowledge and want to increase their skills. Some prior experience with JavaScript or any language is necessary; however you should have experience with HTML and Web page development.

Expected Duration
This course, including the exercises, will take up to 4 hours to complete.

Objectives:

Working with Visual Objects

  • Identify the purpose of objects
  • Define properties and methods
  • Initialize object instances
  • Identify properties and methods of the Document object
  • Change the foreground color
  • Change the background color
  • Retrieve the user's referring URL
  • Display the document's last modified date
  • Identify the Document Object Model
  • Define the Window object
  • Customize the status bar
  • Load pages with the Location object
  • Display a dialog box with the alert() method
  • Receive user confirmation with the confirm() method
  • Retrieve information with the prompt() method
  • Open a new window with the open() method
  • Working with Non-visual Objects

  • Define the Math object
  • Identify Math object methods
  • Round numbers
  • Generate random numbers
  • Create a Date object
  • Calling Date object methods
  • Return the month of the year
  • Retrieve the current time
  • Create arrays
  • Create multi-dimensional arrays
  • Loop through arrays
  • Identify the String object
  • Measure a string's length
  • Format strings
  • Find a string within a string
  • Split strings into arrays
  • Extract substrings from String objects
  • Identify the Navigator object and its properties
  • Detect the user's browser
  • Creating Objects

  • Declare custom objects with constructors
  • Define properties for custom objects
  • Create custom object instances
  • Create methods for custom objects
  • Call custom methods
  • Enhancing the User's Experience

  • Use the Images array
  • Update an image's source
  • Preload an image
  • Control styles with JavaScript
  • Create positionable page elements (layers)
  • Move page elements

  • Course Number: WDEV0233