In this programming project you will improve your Calculator page by displaying its output right on the page, rather than producing alert messages. You will also include a last modified date on the page.
As you did for your Mad Libs program, modify your
Calculator to write the output to the web page instead of to alert
messages. Create an empty paragraph (<p>
) or
division (<div>
) element between two horizontal
rules at the bottom of the page, and write the Calculator results to
that new element.
In this case, repeatedly clicking the Calculator button should cause the previous results to disappear and be replaced by new results. (This is different from the Mad Libs case, where new Mad Libs stories should be appended to existing ones.)
comp105.cs.kzoo.edu
server and test that it works there.
If you worked in a
team, each member of your group should do this, so each of you has a
link to your calculator page.
After the link, list your teammates in
parentheses; for example, "Calculator Program (Harry, Ron, and Hermione)".
comp105.cs.kzoo.edu
, not your local version.)