Duration
5 days
Overview
Learn how to make your website elicit the “Wow!” response and make your web pages more interactive and user friendly. Participants will learn how to code Javascript from scratch using nothing more than a text editor and a web browser (such as Firefox or Microsoft Internet Explorer).
Course Prerequisite
Participants should have an understanding of how to use a web browser and HTML in order to gain maximum benefit from this course.
Course Objective
At course completion, participants will have a solid foundation in Javascript syntax and applications.
Chapter 1 – Introduction to JavaScript and the Web
- Introduction to JavaScript
- Your first Simple JavaScript Program
- A brief look at browsers and compatibility problems
Chapter 2 – Data Types and Variables
- Types of Data in JavaScript
- Variables
- Using Data
- Data Type Conversion
- Arrays
Chapter 3 – Decision and Loops
- Decision Making – the If and Switch Statements
- Looping – the For and While Statements
Chapter 4 – Functions and Scope
- Creating Your Own Functions
- Scope and Lifetime
- Functions as Values
Chapter 5 – JavaScript – An Object-Oriented Language
- Object-Based Programming
- JavaScript’s Native Object Types
- Creating Your Own Custom Objects
- Creating New Types of Objects
Chapter 6 – String Manipulation
- Additional String Methods
- Regular Expressions
- The String Object
- Using the Regexp Object’s Constructor
Chapter 7 – Date, Time, and Timers
- World Time
- Timers in a Web Page
Chapter 8 – DOM Scripting
- The Web Standards
- The Document Object Model
- Manipulating the DOM
Chapter 9 - Events
- Types of Events
- Connecting Code to Events
- The Standard Event Model
- Event Handling in old versions of Internet Explorer
- Writing Cross-Browser Code
- Native Drag and Drop
Chapter 11 – HTML Forms: Interacting with the User
- HTML Forms
- Traditional Form Object Properties and Methods
- HTML5 Form Object Properties and Methods
Chapter 12 - JSON
- XML
- JSON
Chapter 13 – Data Storage
- Baking Your First Cookie
- Creating a Cookie
- Getting a Cookie’s Value
- Cookie Limitations
- Cookie Security and IE
- Web Storage
Chapter 14 - AJAX
- What is AJAX?
- Using the XmlHttpRequest Object
- Creating a Simple Ajax Module
- Validating Form Fields with Ajax
Chapter 15 - jQuery
- Getting jQuery
- jQuery’s API
Programme scope, delivery arrangements and suitability are confirmed during enquiry.