HTML and CSS Reference
In-Depth Information
Chapter Summary
This chapter described how to write JavaScript to create a scrolling message, a pop-up window, and if and if…else
statements; how to pass values to a user-defined function; how to validate the data entered into a form and convert
text to numeric values using the parseInt(), parseFloat(), and isNaN() built-in functions; and how to format string
output results to display as currency. The items listed below include all the new JavaScript skills you have learned in
this chapter.
1. Create a Form Text Field to Display a Scrolling
Message (HTML 458)
2. Create the scrollingMsg() User-Defined Function
(HTML 460)
3. Enter the Code to Increment the Position Locator
Variable (HTML 461)
4. Enter an if Statement (HTML 463)
5. Add the setTimeout() Method to Create a Recursive
Call (HTML 464)
6. Enter the onLoad Event Handler to Call the
scrollingMsg() Function (HTML 466)
7. Add the validSalesAmt() Function with Nested if…
else Statements to Validate Form Data
(HTML 474)
8. Enter the onBlur() Event Handler to Call
the validSalesAmt() Function
(HTML 475)
9. Enter the CalcLoanAmt() User-Defined Function
(HTML 476)
10. Enter an onClick() Event Handler to Call the
CalcLoanAmt() Function (HTML 477)
11. Enter Code to Call the monthlyPmt() Function
(HTML 479)
12. Create the monthlyPmt() Function (HTML 481)
13. Enter the dollarFormat() Function (HTML 484)
14. Enter an if…else Statement and while Loop to
Extract the Dollar Portion of the Output and Insert
Commas (HTML 486)
15. Reconstruct the Formatted Output and Return the
Formatted Value (HTML 487)
16. Pass the Monthly Payment Value to the
dollarFormat() Function (HTML 487)
17. Enter the popUpNotice() Function to Open
a Pop-Up Window (HTML 490)
18. Add the Event Handler to Call the popUpNotice()
Function (HTML 490)
19. Display the Date Last Modified Using the
substring() Method (HTML 492)
Learn It Online
Test your knowledge of chapter content and key terms.
Instructions: To complete the following exercises, please visit . At the home page, search for HTML5 and CSS 7th Edition using the search box at the
top of the page. This will take you to the product page for this topic. On the product page, click the
Access Now button below the Study Tools heading. On the Topic Companion Site Web page, select
Chapter 10, and then click the link for the desired exercise.
Chapter Reinforcement TF, MC, and SA
A series of true/false, multiple choice, and short
answer questions that test your knowledge of the
chapter content.
Who Wants To Be a Computer Genius?
An interactive game that challenges your
knowledge of chapter content in the style of a
television quiz show.
Flash Cards
An interactive learning environment where
you identify chapter key terms associated with
displayed definitions.
Wheel of Terms
An interactive game that challenges your
knowledge of chapter key terms in the style of
the television show, Wheel of Fortune .
Practice Test
A series of multiple choice questions that test your
knowledge of chapter content and key terms.
Crossword Puzzle Challenge
A crossword puzzle that challenges your
knowledge of key terms presented in the chapter.
Search WWH ::

Custom Search