Mt. San Jacinto College Computer Information Systems
Minimize header.

CSIS 116c - JavaScript Fundamentals

Bill Bennett Instructor: Bill Bennett, MSIDT, MCSE, CCNA, CIW
Office: Rm 960 (Bus. & Technology bldg.) Hours
Office Phone: 951.639.5530
Assistant's Phone (Kaye): 951.639.5523
Web Site:


Internet Scripting with JavaScript
CSIS 116c - Section 3148 & MUL 158 - Section 3135

Summer 2005

Course Description

This course introduces the student to fundamental programming concepts and procedures using browser-embedded JavaScript. The student will learn to embed scripts in HTML code which will be of practical use to manipulate frames, browser windows and images, to verify HTML forms, to dynamically update pages automatically, and to make use of browser cookies. This course is intended for CIS and Multimedia majors, or students who are preparing for careers involving advanced web design.

Course Objectives

Upon completion of the course, the student will be able to do the following:

  1. Analyze JavaScript characteristics
  2. Examine JavaScript expressions
  3. Select the appropriate program flow methods for the situation
  4. Diagram the JavaScript object model
  5. Assess JavaScript security and the proper usage of cookies
  6. Construct interactive forms using JavaScript & create custom JavaScript objects

Course Grading

34 Labs @ 100 pts. per lab = 3,400 pts. possible 10 Quizzes @ 100 pts. per quiz = 1,000 pts. possible.

Grading Summary: Total possible points for this course = 4,400.
Grading Scale: A) > 3,700 pts    B) > 3,000 pts    C) > 2,300 pts    D) > 1,600 pts    F) < 1,601 pts

Online Quizzes, Reading , and Lab Assignments

Chapter to read in “JavaScript Fundamentals ”



Lesson 1: Introduction to JavaScript


Lesson 1 Quiz

Lesson 2: Working with Variables and Data in JavaScript

2-1, 2-2, 2-3, 2-4, 2-5, 2-6

Lesson 2 Quiz

Lesson 3: Functions, Methods, and Events in JavaScript

3-1, 3-2, 3-3

Lesson 3 Quiz

Lesson 4: Controlling Program Flow in JavaScript

4-1, 4-2, 4-3, 4-4, 4-5

Lesson 4 Quiz

Lesson 5: The JavaScript Object Model

5-1, 5-2, 5-3, 5-4, 5-5

Lesson 5 Quiz

Lesson 6: JavaScript Language Objects

6-1, 6-2, 6-3, 6-4, 6-5

Lesson 6 Quiz

Lesson 7: Developing Interactive Forms with JavaScript

7-1, 7-2, 7-3, 7-4

Lesson 7 Quiz

Lesson 8: Cookies and JavaScript Security

8-1, 8-2

Lesson 8 Quiz

Lesson 9: Controlling Frames with JavaScript

9-1, 9-2, 9-3

Lesson 9 Quiz

Lesson 10: Custom JavaScript Objects


Lesson 10 Quiz


Complete each of the following labs from your ProSoft book and post the resultant file to the "Digital Dropbox". Click on "Add file" and then type in your name, click "browse" to find the location of your JavaScript file on your computer and then click "Submit". DON'T CLICK ON "Send File".
You can print out this syllabus and use the space provided to the left of each lab for recording the date when you completed and submitted the lab.


Lab 1-1: Creating a JavaScript-enabled page


Lab 2-1: Using the JavaScript alert() method


Lab 2-2: Using the JavaScript prompt() method


Lab 2-3: Using the JavaScript confirm() method

Lab 2-4: Using the JavaScript document.write() method
Lab 2-5: Storing user data in a JavaScript variable
Lab 2-6: Assigning and adding variables in JavaScript
Lab 3-1: Creating a user-defined function in JavaScript
Lab 3-2: Using functions, arguments and return values in JavaScript
Lab 3-3: Calling a function from within another function in JavaScript
Lab 4-1: Using if statements
Lab 4-2: Using while statements
Lab 4-3: Using for statements
Lab 4-4: Nesting if and break statements inside a while loop
Lab 4-5: Using a continue statement
Lab 5-1: Launching a new window with the open() method
Lab 5-2: Writing content to new windows
Lab 5-3: Changing status bar text
Lab 5-4: Using properties and methods of remote objects
Lab 5-5: Using the image object
Lab 6-1: Using String object formatting methods
Lab 6-2: Applying String methods to text
Lab 6-3: Creating an Array object
Lab 6-4: Using the Date object
Lab 6-5: Creating an onscreen clock
Lab 7-1: Using a textbox, a checkbox, and a button
Lab 7-2: Using radio buttons
Lab 7-3: Using a select object
Lab 7-4: Using a multiple-selection list
Lab 8-1: Setting, viewing and clearing a cookie with JavaScript using Netscape Navigator
Lab 8-2: Locking the browser with malicious code
Lab 9-1: Targeting Frames
Lab 9-2: Calling functions from parent and child frames with JavaScript
Lab 9-3: Calling functions from parent and child windows with JavaScript

Instructor's Note to Students

This syllabus is your roadmap to the steps necessary for successful completion of this course. My suggestion to you is that you print this syllabus out and note (in the left hand column) the date you complete and submit each lab.

All of the quizzes for this course, which are available under the "Quizzes" button, have not been uploaded yet. I expect to have them all uploaded by 6/13/2005. You may take the quizzes at any time as long as you complete all ten quizzes by midnight of the last day of this course. Also in lieu of reading the book you might try the "Online lectures" which are narrated powerpoint slides that inlcude all of the text from the book in audio format. At the start of this course Lessons 1 through 5 are active and available for your viewing. Lessons 6 - 10 will be posted over the course of the first couple of weeks.

One of the Discussion Board Forums is titled “Help”. This is where you should post any questions (click on "add new thread") you have about what your supposed to do or if your having any particular problems – especially with the quizzes. Many times users lose their Internet connection while taking a quiz. When that happens, post the problem in Help and email me immediately, I will need to reset the test so that you can retake it (yes, you will lose any previously answered questions for that particular chapter quiz). I do give extra credit for students who reply to other student's help questions where applicable.

Fellow contributor to this course, Glenn Stevenson, has posted a large array of comprehensive notes regarding the JavaScript subject matter. You'll find Glenn's notes by clicking on "JavaScript Notes"

As always if you have any questions please email me: and be sure to add subject: CSIS 116c 3148 or MUL 158 3135.