Project 2

due April 21

The assignment for the second project is to create a web page that includes a form that gets text and at least two pieces of numerical data from the user. When the user clicks a button indicating that the data is fully entered, the page should perform a calculation based on the numerical data, and report the results to the user in a text area. Accomplish this by concatenating the text data and numerical values computed on the basis of the numerical data with text specified in the program. Please include in the page a description of how the message uses the data. Also include a reset button. Please do not make the files too large.

Pages performing as expected and demonstrating the required techniques will earn grades of at least 95 out of 100. Projects earn the remaining 5 points by being particularly useful, well arranged, or creative, or all three. The page must be your own work using the methods demonstrated in class. Do not use other web development tools. Do not borrow code from web pages other that class examples.

An example of an acceptable page will be demonstrated in class.

The calculation need not be very difficult. A rather dull but adequate page could just add two numbers supplied by the user, and report the result while addressing the user by name. A page could calculate a person's daily calorie requirement from size and activity data. A page could ask the user how many of each of several items the user would like, then report the total cost. There are many other possibilities.

Please name the file YourLastNameproj2.html, and email it to the matc1101 "at" cs "dot" du "dot" edu address by the beginning of class on April 21.