JavaScript Essential Training (2007)
Example exercise code from Lynda.com JavaScript Essential Training (2007)
Developer Essentials
Extremely basic HTML file
Starting to Code
Using document.write()
Using external file
Using comments
Using the noscript tag in HTML
Interacting with Users
Creating alert dialogs
Understanding conditional statements
Getting confirmations from users
Creating prompts for users
Understanding functions
Making links smarter, part 1
Making links smarter, part 2
Using switch/case statements
Handling errors
Javascript Language Essentials
Getting started
Creating loops
Passing values to functions
Detecting objects
Reading arrays
Returning values from functions
Writing arrays
Building do and while loops
Re-using functions
Creating Rollovers and More
Creating a basic image rollover
How to write a better rollover
Creating a three-state rollover
Making rollovers accessible and 508 compliant
Making disjointed rollovers
Creating slideshows
Displaying random images
Building Smarter Forms
Creating jump menus
Creating dynamic menus
Requiring fields
Cross-checking fields
Displaying more informative errors
Verifying radio button selections
Setting one field with another
Verifying email addresses
Handling Events
Responding to window events
Responding to mouse movements
Responding to mouse clicks
Responding to onBlur form events
Responding to onFocus form events
Responding to keyboard events
Working with Cookies
Writing a cookie
Reading a cookie
Displaying a cookie
Counting with cookies
Deleting cookies
Handling multiple cookies
Cookies in action
The DOM, Nodes, and Objects
Adding nodes to the DOM
Deleting nodes from the DOM
Deleting specific nodes
Inserting nodes into the DOM
Replacing nodes in the DOM
Working with Dates and Times
Displaying Dates
Real World Applications of JavaScript (Coming soon!)