To register online click here, or call
800-413-0939
Our Registrars will be happy to assist you.

JavaScript Training Course

Menu

JavaScript Programming

Duration: 3 days | Price: $1595

Class Dates:

Click here for information regarding remote access training.

Students Will Learn:

  • Including JavaScript in a Web page
  • Using the Document Object Model (DOM) to access the HTML elements on the page dynamically
  • Using JavaScript objects effectively, including the window object and the navigator object
  • Creating and using variables
  • Using event handlers to handle user-triggered events
  • Using regular expressions with string methods to perform basic validation
  • Working with primitive data types
  • Passing arguments to a function
  • Using conditional constructs and loops
  • Debugging JavaScript code
  • Working with JSON objects
  • Using Ajax to make asynchronous calls to a web server

Course Description: This hands on JavaScript training course provides the knowledge necessary to design and develop dynamic Web pages using JavaScript. It introduces students to client-side JavaScript and how the language can be used to turn static HTML pages into dynamic, interactive Web pages. Students will learn the syntax of the JavaScript language and how client-side scripts interact with server-side programs.

JavaScript topics include adding JavaScript to a Webpage, use of dialogs to interact with the user and JavaScript intrinsic objects such as Date, Array and Math. Students will also be introduced to the Document Object Model (DOM), creation of functions, event handling, form validation, JSON and Ajax. Comprehensive hands on exercises are integrated throughout to reinforce learning and develop real competency.

Course Prerequisites: Basic computer skills and knowledge of HTML fundamentals including use of Cascading Style Sheets. Students who are not familiar with HTML should register for the course Web Site Development with HTML5/JavaScript.

JavaScript Programming Course Overview:

Overview of Client-Side JavaScript
  • Including JavaScript in a Page
    • Using the <script> Tag
    • Referencing an External Script File
    • Using an Event Handler
    • Using a URL
  • Evolution of the JavaScript Language
  • Common Misconceptions About JavaScript
JavaScript Fundamentals
  • Adding Comments
  • Debugging JavaScript Code
  • Declaring Variables with and without var
  • Local vs. Global Variables
  • Using JavaScript Primitive Types
    • String, Number and Boolean
    • undefined
    • null
  • Performing Data Conversions
  • Interacting with the User
    • alert
    • prompt
    • confirm
  • Using Strict Mode
  • Working with JavaScript Operators
    • Arithmetic Operators
    • Assignment Operators
  • Using the Math and Date Objects
Controlling Flow
  • Conditional Constructs
    • if else
    • switch
  • Looping Contructs
    • do while
    • while
    • for
    • for in
  • Branching Statements
    • break
    • continue
  • Equality and Identity Operators
  • Logical and Comparison Operators
Working with Strings, Numbers and Arrays
  • Creating String Objects
  • Using String Methods
    • Searching within a String
    • Returning a Substring
    • Converting Character Case
  • Creating Number Objects
  • Formatting Numbers
  • Creating Arrays
    • Using the Array Constructor
    • Using Literal Notation
  • Accessing Array Elements
  • Common Array Methods
  • Defining and Using Associative Arrays
  • Predefined Object Arrays
Implementing Functions
  • Declaring Functions
  • Invoking Functions
  • Named and Anonymous Functions
  • Passing Arguments
  • Local vs. Global Variables
  • Returning Values from a Function
  • The this Keyword
  • Explaining Closures
Browser Object Model
  • Overview of the Browser Object Model
  • Using the window Object
    • Opening and Closing Windows
    • Using Timers
    • Passing Data Between Windows
  • Using the document Object
    • Writing to the Webpage
    • Accessing Properties of the Document
  • navigator Object
  • location Object
  • screen Object
Introduction to the Document Object Model (DOM)
  • Selecting DOM Elements
    • getElementById
    • getElementsByTagName
    • getElementsByName
    • getElementsByClassName
    • querySelector
    • querySelectorAll
  • Modifying Page Content with the DOM
  • Manipulating CSS using JavaScript
Event Handling in JavaScript
  • Overview of JavaScript Events
    • Identifying Differences Between Browsers
    • The event Object
    • Event Capturing and Bubbling
  • Adding Event Handlers
    • Traditional (Inline) Model
    • Registering Events in JavaScript
    • addEventListener
    • attachEvent
  • Mouse and Keyboard Events
  • Preventing Default Behavior
  • Cancelling Events
Working with Forms
  • Accessing Forms from JavaScript
  • Working with Form Elements
  • Validating Form Fields
    • Checking Required Fields
    • Checking Length of Input
  • Cancelling Form Submission
Using Regular Expressions
  • Overview of Regular Expressions
  • Using Regular Expressions in JavaScript
    • Creating an RegExp Object
    • Using i and g Flags
  • Validating Strings with Regular Expressions
  • Using Backreferences
Working with JavaScript Objects and JSON
  • Understanding Objects
  • Defining Custom Objects
    • Object Literal Notation
    • Defining Properties and Methods
    • Creating a Constructor
  • Extending an Existing Object with prototype
  • Using the in and instance of Operators
  • Overview of JSON
  • Using JSON.stringify and JSON.parse
Using Ajax
  • Overview of Ajax
  • The XMLHttpRequest Object
  • Configuring an Ajax Request
  • Handling Errors on readystatechange
  • Using JSON with Ajax
  • Creating a "Hint" Feature with Ajax

Student Testimonials

"The instructor was great and the rule of three helped me understand the material. You can't beat: Talk about it. See it. Do it."
– E.K., Intersec Design


"Very good course – covered many interesting topics. I learned a really tremendous amount for only 3 days. This will greatly help me in my current job."
– C.H., Net QOS

Multiple Training Locations - Convenience and Cost Control

Regularly Scheduled Courses in more than 100 Cities Across North America and the United Kingdom