Javascript Fundamentals
3 Days Instructor Led
Prerequisites: HTML Level 1 and Level 2
Lesson 1: Introduction to Scripting
- Origins of JavaScript
- JavaScript Characteristics
- JavaScript and Common Programming Concepts
- Java and JavaScript
- Server-Side vs. Client-Side Applications
- Annotating Your Code with Comments
- Lesson 1 Review
Lesson 2: Working with Variables and Data in JavaScript
- Pre-Assessment Questions
- Using JavaScript to Communicate with the User
- Using Data More Than Once: Variables
- JavaScript Expressions
- Operators
- Inline Scripting, Simple User Events and the onLoad and onUnload Event
Handlers
- Keywords and Reserved Words
- Lesson 2 Review
Lesson 3: Functions, Methods and Events in JavaScript
- Pre-Assessment Questions
- Functions
- Defining a Function
- Calling a Function
- User Events and JavaScript Event Handlers
- Methods as Functions
- Lesson 3 Review
Lesson 4: Controlling Program Flow in JavaScript
- Pre-Assessment Questions
- Controlling Decisional Program Flow
- The if...else Statement
- The while Statement
- The do...while Statement
- The for Statement
- The break Statement
- The continue Statement
- The switch Statement
- Lesson 4 Review
Lesson 5: The JavaScript Object Model
- Pre-Assessment Questions
- The JavaScript Object Model
- Commonly Used Objects
- The window Object
- The document Object
- The with Statement
- The image Object
- The history Object
- The location Object
- The navigator Object
- Lesson 5 Review
Lesson 6: JavaScript Language Objects
- Pre-Assessment Questions
- Introduction to JavaScript Language Objects
- The String Object
- Additional String Object Methods
- Evaluating Strings
- JavaScript Regular Expressions
- The Array Object
- The Date Object
- Setting and Extracting Time Information
- The Math Object
- Lesson 6 Review
Lesson 7: Developing Interactive Forms with JavaScript
- Pre-Assessment Questions
- Interactive Forms
- Overview of Form Elements
- Referring to a Form Element
- The form Object
- The button Object
- The checkbox Object
- The text and textarea Objects
- The radio Object
- The select Object
- Multiple-Selection Lists
- Form Validation
- Lesson 7 Review
Lesson 8: Cookies and JavaScript Security
- Pre-Assessment Questions
- Security and Cookies in JavaScript
- What Are Cookies?
- How Are Cookies Sent
- Who Can Send Cookies?
- Storing Cookies
- Why Use Cookies?
- Assigning a Cookie 7
- Testing for Cookie Presence
- Clearing a Cookie
- Controlling Cookies in the Browser
- JavaScript Security IssuesLesson 8 Review
Lesson 9: Controlling Frames with JavaScript
- Pre-Assessment Questions
- Using JavaScript with Frames and Windows
- Targeting Frames with JavaScript
- Changing Two or More Frames with JavaScript
- Frames, Functions and Variables
- Targeting Windows with JavaScript
- Windows, Functions and Variables Lesson 9 Review
Lesson 10: Custom JavaScript Objects
- Pre-Assessment Questions
- Creating Custom Objects
- Custom Object Demonstration
- Creating a JavaScript Object: The Constructor 3
- Creating an Instance of a Custom Object
- Creating Object Methods
- Creating Functions for Your Objects
- Complex Custom Objects
- Lesson 10 Review