Chapter 1
JavaScript Basics
Chapter 2
Sequencing and Looping
Chapter 3
Forms Validation
Example:
Radio2withComments.htm
Chapter 4
Image Swapping
/ (pdf)
HW 4 (Due Monday, February 27th) Create a frame set with a left frame called "navigation" and a right frame called "content" as follows:
<html><head><title>Great Composers Home Page</title></head>
Load a few of your own double rollover images as was done in listing 4.5. Load
your description page into the content frame. Chapter 5 Animated Banners / (pdf)
HW 5 (Due Wednesday, March 1st) Answer review questions 1-7 on
p 86.
has published a useful slide show template consisting of several HTML files and some JavaScript.
Chapter 6 Dates and Times / (pdf) offers a nice set of Time/Date samples and templates.Chapter 7 Cookies: Maintaining State / (pdf)HW 6 (Due Monday, March 20th) Answer review questions 4-10 on p 130. Lab Chapter 7 (Due Monday, March 27th) Create a three problem quiz that greets the person by name if their name is in a cookie otherwise prompt for their name and store it in a cookie. Create three random addition problems and store them in the cookie. Let the user answer the problems, storing each answer in the cookie. The user should be able to come back to the page and start off where he left off. Change the cells background color to red if the answer is wrong. Start this project by making just one math problem, displaying it, storing it and its solution in a cookie, getting the user's answer, storing it in the cookie. Read the cookie in or create a new one if there is none. See "Creating Random Numbers" (below), Listing 7.2, 7.3, 7.4, and 7.5. Sample Source Code offers an overview of cookies and links to related news articles. Chapter 8 Windows and Frames / (pdf)HW 7 (Due Wednesday, March 29th) Determine the flow of control for the following program by listing the order in which each function is called. Do not count repeat invocations of a function only list the overall ordering, first to last. CatchMeIfYouCan. Solution: modified CatchMeIfYouCan, trial run 1, 2, 3. Array Lab (Due Monday April 5th) Modifiy the createProblem and checkAnswer functions to use a for loop instead of each repeating code three times, add functionality that tests whether all three problems are answered correctly or not, if they are then use the confirm method to see if the player wants to play then open the cathMeIfYouCan page in a new window using window.open(url): AdditionQuiz
Chapter 8 Lab (Due Wednesday April 19th) Create a
frames page with two panes, navigation and content. Place "QuizThreeProblems.html"
in the content pane first. When three problems are answered correctly use the
confirm dialog to place the "catchMeIfYouCan.htm" in the content pane. The
navigation pane should have buttons that allow the user to select Addition or
Multiplication for the quiz. Start with these files:
ch8Lab.zip
Chapter 9
Applied Programming
Test #2
JavaScript/HTML
(Friday April 21st) Review chapters 1-8, be able to follow the flow
of control in any given webpage we have discussed. Appendix A
Final Exam Review
provides a downloadable PDF file of the ECMAScript specification.
|