- JavaScript Intro
- Booking
JavaScript Introduction
(2 days - £450, plus VAT)
Prerequisites
Computer literacy: the ability to use a mouse and keyboard; familiarity with common computer software; the ability to open and save files.
Course Goals
To equip delegates with the skills they need to add sophisticated interactivity to their web pages by using JavaScript to manipulate HTML and CSS elements.
Course Outline
Getting Started with JavaScript Programming
Basic Concepts
JavaScript Syntax Rules
Using Comments
Best Practices for JavaScript
Working with the Document Object Model (DOM)
Understanding the Document Object Model (DOM)
Using window Objects
Working with Web Documents
Accessing Browser History
Working with the location Object
Using Variables, Strings, and Arrays
Using Variables
Understanding Expressions and Operators
Data Types in JavaScript
Converting Between Data Types
Using String Objects
Working with Substrings
Using Numeric Arrays
Using String Arrays
Sorting a Numeric Array
Using Functions and Objects
Using Functions
Introducing Objects
Using Objects to Simplify Scripting
Extending Built-in Objects
Controlling Flow with Conditions and Loops
The if Statement
Using Shorthand Conditional Expressions
Testing Multiple Conditions with if and else
Using Multiple Conditions with switch
Using for Loops
Using while Loops
Using do…while Loops
Working with Loops
Looping Through Object Properties
Using Built-in Functions and Libraries
Using the Math Object
Working with Math Functions
Using the with Keyword
Working with Dates
Responding to Events
Understanding Event Handlers
Using Mouse Events
Using Keyboard Events
Using the onLoad and onUnload Events
Using Windows
Controlling Windows with Objects
Moving and Resizing Windows
Using Timeouts
Displaying Dialog Boxes
Using Graphics and Animation
Using Dynamic Images
Creating Rollovers
A Simple JavaScript Slideshow
Getting Data with Forms
The Basics of HTML Forms
Using the form Object with JavaScript
Scripting Form Elements
Displaying Data from a Form
Form Validation
Working with Style Sheets
Defining and Using CSS Styles
Using CSS Properties
Creating a Simple Style Sheet
Using External Style Sheets
Controlling Styles with JavaScript
Debugging JavaScript Applications
Avoiding Bugs
Basic Debugging Tools
Creating Error Handlers
Back to top
Book an JavaScript Course