help please!!
Date: 05/09/05
(Javascript Community) Keywords: web
I've been trying to figure out how to do this project for my Web class since yesterday and I'm so confused. Anyone what to try and help? Here's the assignment:
Create a script that calculates the square feet of carpet required to a carpet room. Include three text boxes. Create one text box for the width of the room in linear feet and another for the length of the room in linear feet. Also create a text box for the cost per square foot of carpeting. When you calculate the cost, add 25% to the total number of square feet to account for closets and other features of the room. Display the total cost in an alert dialog box.
This is probably the simplest thing in the world but for some reason I just can't figure it out.
Thanks!
Source: http://www.livejournal.com/community/javascript/65370.html
|