Course Description

This 3-day JavaScript Programming Introduction training course will teach students how to use JavaScript effectively to make their web pages more dynamic and functional and to reduce the number of roundtrips to the server. Students will learn JavaScript syntax, how to work with variables, learn to write flow control logic, validate forms, create roll-over images, open and work with new windows, and learn to work with JavaScript timers, intervals and navigation history.

Pre-requisites

Experience in HTML is required and experience in CSS and programming in another programming language would be beneficial.

Who is this course for?

For programmers and web developers.

Further Training

After some further on-the-job programming experience with the JavaScript language, we recommend students attend our
JavaScript Programming Advanced training course to gain higher-level skills in the usage of JavaScript.

Course content

JavaScript Basics
The Name “JavaScript”
The HTML DOM
JavaScript Syntax
Basic Rules
Dot Notation
Square Bracket Notation
Where Is JavaScript Code Written?
JavaScript Objects, Methods and Properties
Methods
Properties
The Implicit window Object
The getElementById() Method
Event Handlers
Variables, Arrays and Operators
JavaScript Variables
A Loosely-typed Language
Storing User-Entered Data
Arrays
Associative Arrays
Array Properties and Methods
JavaScript Operators
JavaScript Functions
Built-in Functions
Number(object)
String(object)
isNaN(object)
parseFloat() and parseInt()
Built-in Functions vs. Methods
User-defined Functions
Function Syntax
Passing Values to Functions
A Note on Variable Scope
Returning Values from Functions
Built-In JavaScript Objects
String
Math
Date
typeof Operator
Conditionals and Loops
Conditionals
if – else if – else Conditions
Switch / Case
Loops
while Loop Syntax
do…while Loop Syntax
for Loop Syntax
for…in Loop Syntax
JavaScript Form Validation
Accessing Form Data
Basics of Form Validation
The this Object
Cleaner Validation
Validating Radio Buttons
Validating Checkboxes
Validating Select Menus
Focus, Blur, and Change Events
Validating Textareas
Images, Windows and Timers
Image Rollovers
Preloading Images
Creating a Slide Show
Windows
Timers
Popup Timed Slide Show
Navigator, History, & Location Objects
The navigator Object
Feature Detection
history Object
location Object
Creating a Simple Quiz