HTML and CSS Reference
In-Depth Information
In the Lab
Lab 2: Circle Cement
Instructions: You are the Webmaster for Circle Cement. A number of customers have been asking
for a way to calculate how much cement they need to order for a job. Management has asked you
to create an interactive Web page that will allow customers to input the length, width, and depth
of concrete needed and calculate the number of yards. The Web page has a scrolling message and
validates the data entered into the form as numeric. The calculated number of yards needed is
truncated to two decimal places and displayed in the text field yards. Add the JavaScript to make the
Web page appear as in Figure 10-45.
pop-up window
with message about
this month's specials
Close button controlled
by JavaScript
form contains text
field with scrolling
form with text
fields and Calculate
and Reset buttons
date Web page
last modified
Figure 10-45
Search WWH ::

Custom Search