JavaScript Introduction - 1 Day
Duration
One Day
Course Outline
Unit 1: JavaScript basics
- Topic A: Introducing JavaScript
- A-1: Understanding scripting
- A-2: Browsing active Web pages
- Topic B: Integrating JavaScript with HTML
- B-1: Using the SCRIPT tag to write JavaScript code
- B-2: Writing JavaScript code in an external file
Unit 2: Programming basics
- Topic A: Using variables, data types, and functions
- A-1: Declaring variables of different data types
- A-2: Assigning and displaying the values of variables
- A-3: Using standard JavaScript functions
- A-4: Writing user defined functions
- Topic B: Using JavaScript operators
- B-1: Using arithmetic operators
- B-2: Using comparison operators
- B-3: Using boolean operators
- Topic C: Using control structures
- C-1: Using the if...else conditional statement
- C-2: Using the for loop
- C-3: Using the while loop
Unit 3: Working with objects
- Topic A: Understanding objects, methods, and properties
- A-1: Understanding objects, methods, and properties
- Topic B: Working with Date and String objects
- B-1: Displaying the current date and time on a Web page
- B-2: Finding the length of a string
Unit 4: Working with Document and Window objects
- Topic A: Writing to a Web page
- A-1: Using the write and writeln methods
- A-2: Displaying the last modified date on a Web page
- Topic B: Creating new windows
- B-1: Opening a new window from a Web page using JavaScript
- B-2: Changing the attributes of a window
Unit 5: Working with the Form object and events
- Topic A: Handling events on a form
- A-1: Accessing form elements
- A-2: Understanding event handling
- A-3: Writing an event handler for the Submit button
- A-4: Validating data entered in a text box
- Topic B: Scripting for form elements
- B-1: Reading value from a list box
- B-2: Finding the status of a check box
- B-3: Finding the status of a radio button