This class will give students a thorough introduction to the JavaScript language. At the end of this class, students will be able to create JavaScript functions that define variables and arrays and that use if statements, switch/case statements, for loops and while loops. Students will be able to work with the Document Object Model (DOM) for manipulating web pages and testing user input in forms. Students will be able to write scripts that create and read cookies and respond to user interaction through mouseovers and clicks. An understanding of HTML/XHTML and programming is useful but not necessary for this course. No software is needed.
Objectives
Students will create a simple JavaScript in their web page.
Students will define variables and display dialog boxes to communicate with the user.
Students will create JavaScript statements that use the various JavaScript operators.
Students will create JavaScripts with Conditional Statements, Looping Statements and Functions.
Students will write JavaScripts that use Arrays, Dates and Math Functions.
Students will create JavaScripts that interact with the Browser.
Students will create JavaScripts that interact with the parts of a web page including Forms, Images and Links.
Students will create JavaScripts that store cookies and that use Cascading Style Sheets to create dynamic web pages.
Students will create JavaScripts that handle errors and communicate with the server using Ajax.
Students will create a final project that demostrates what they have learned in the class.
Book
JavaScript Step by Step
Author: Steve Suehring Publisher: Microsoft Press ISBN: 0735624496
Lesson 1: Getting Started
Read Chapters 1, 2 and 3
Lesson 2: Variables and Data
Read Chapter 4
Lesson 3: Operators
Read Chapter 5
Lesson 4: Conditions, Loops and Functions
Read Chapters 6 and 7
Lesson 5: JavaScript Core Objects
Read Chapter 8
Lesson 6: Browser Objects
Read Chapters 9 and 14
Lesson 7: Document Objects
Read Chapters 10, 11, and 13.
Lesson 8: Cookies and DHTML
Read Chapters 12 and 15
Lesson 9: Handling Errors and Working with Ajax
Read Chapters 16, 17, 18 and 19.
Lesson 10: Putting it All Together
Review the Chapters covered in this class.
All content of this document is copyrighted by IDEA Solutions and the author. All rights reserved. Content may not be used without permission.