JavaScript Training
Introduction to JavaScript Training (3 days)
JavaScript Training Overview
In this JavaScript training course, students learn to use JavaScript effectively to make their web pages more dynamic and functional and to reduce the number of roundtrips to the server.
JavaScript Training Class Goals
- Learn how JavaScript is used
- Learn JavaScript syntax
- Learn about objects, methods and properties
- Learn to work with JavaScript variables
- Learn to create your own functions in JavaScript
- Learn to write flow control logic in JavaScript
- Learn to validate forms with JavaScript
JavaScript Courseware
- 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
- Conclusion
- JavaScript Variables
- 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
- Conclusion
- Built-in Functions
- Built-In JavaScript Objects
- String
- Math
- Date
- typeof Operator
- Conclusion
- 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
- Conclusion
- Conditionals
- 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
- Focus and Blur
- Change
- Validating Textareas
- Conclusion
- Working with Images
- Image Rollovers
- Backward Compatibility
- An Image Rollover Function
- Preloading Images
- Conclusion
- Image Rollovers