INTRODUCTION TO JAVASCRIPT– GTIT7

Course Description

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.

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.
  • Learn to create roll-over images with JavaScript.
  • Learn to open and work with new windows.
  • Learn to work with JavaScript timers and intervals.
  • Learn to work with the navigator history, and location objects.

 

^^

Duration

4 days

^^

Target Audience

This course is suitable for IT professionals with programming experience.

^^

Course Prerequisites

Experience in HTML is required. CSS Experience and programming experience is beneficial. HTML skills are taught in the following courses:

If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please consult with us to discuss your suitability for course attendance.

^^

Suggested Follow on Courses

^^

Course Content

1. JAVASCRIPT BASICS

  1. The Name “JavaScript”
  2. What is ECMAScript?
  3. The HTML DOM
  4. JavaScript Syntax
  5. Accessing Elements
  6. Dot Notation
  7. Square Bracket Notation
  8. Where Is JavaScript Code Written?
  9. The “javascript” Pseudo-Protocol
  10. JavaScript Objects, Methods and Properties
  11. Methods
  12. Properties
  13. The Implicit window Object
  14. Exercise: Alerts, Writing, and Changing Background Color

 

2. VARIABLES, ARRAYS AND OPERATORS

  1. JavaScript Variables
  2. A Loosely typed Language
  3. Variable Naming
  4. Storing User Entered Data
  5. Constant
  6. Associative Arrays
  7. Array Properties and Methods
  8. Exercise: Using Variables
  9. Arrays
  10. Exercise: Working with Arrays
  11. JavaScript Operators
  12. Exercise: Working with Operators

 

3. JAVASCRIPT FUNCTIONS

  1. Global Functions
  2. Exercise: Working with Global Functions
  3. User-defined Functions
  4. Exercise: Writing a JavaScript Function
  5. Returning Values from Functions

 

4. EVENT HANDLERS

  1. Event Handlers
  2. Exercise: Using Event Handlers
  3. Dot Notation and Square Bracket Notation
  4. querySelector()
  5. Exercise: Working with querySelector()
  6. Exercise: Working with Hierarchical Node Properties

 

5. BUILT-IN JAVASCRIPT OBJECTS

  1. String
  2. Math
  3. Date
  4. typeof Operator
  5. Helper Functions
  6. Exercise: Returning the Day of the Week as a String

 

6. CONDITIONALS AND LOOPS

  1. Conditionals
  2. Exercise: Conditional Processing
  3. Loops
  4. Exercise: Working with Loops

 

7. JAVASCRIPT FORM VALIDATION

  1. Accessing Form Data
  2. Exercise: Textfield to Textfield
  3. Basics of Form Validation
  4. Exercise: Validating a Registration Form
  5. Validating Radio Buttons
  6. Validating Check Boxes
  7. Validating Select Menus
  8. Focus, Blur, and Change Events
  9. Validating Textareas
  10. Exercise: Improving the Registration Form

 

8. THE HTML DOCUMENT OBJECT MODEL

  1. The innerHTML Property
  2. Accessing Element Nodes
  3. Exercise: Accessing Elements
  4. Attaching Events
  5. Exercise: Attaching Events
  6. Event Propagation: Capturing and Bubbling
  7. Exercise: A Simple Soccer Game
  8. Accessing Attribute Nodes
  9. getAttribute()
  10. attributes[]
  11. hasAttribute()
  12. setAttribute()
  13. removeAttribute()
  14. Accessing Nodes by Type, Name or Value
  15. Removing Nodes from the DOM
  16. Creating New Nodes
  17. Identifying the Target of an Event
  18. Exercise: Creating and Inserting DOM Nodes

 

9. CSS OBJECT MODEL

  1. Changing CSS with JavaScript
  2. Hiding and Showing Elements
  3. Exercise: Showing and Hiding Elements
  4. Manipulating Tables
  5. Exercise: Tracking Results in the Math Quiz
  6. Dynamically Changing Dimensions
  7. Positioning Elements Dynamically
  8. Exercise: Changing the Math Quiz Timer to a Slider
  9. Changing the Z-Index
  10. The CSS Object Model

 

10. IMAGES, WINDOWS AND TIMERS

  1. Image Rollovers
  2. Preloading Images
  3. Exercise: Creating a Slide Show
  4. Windows
  5. Timers
  6. Exercise: Popup Timed Slide Show

 

11. DEBUGGING AND TESTING WITH CHROME

  1. Chrome DevTools
  2. The Panels
  3. Exercise: Using the Chrome DevTools “Elements” and “Console” Panels
  4. The Sources Panel
  5. Exercise: Using the Chrome DevTools “Sources” Panel
  6. Other DevTools Panels
  7. Chrome DevTools API and Extensions
  8. Exercise: Accessibility Developer Tools Extension

 

^^

See more Internet Technologies courses