Form Scripts
COSC 106 A, Computing Concepts
Tom Linton, Fall 2002, Central College
In a file named winningpercent.html, create a nicely formatted (using a borderless table) form for the user to enter
  1. a team's name, 
  2. the number of games the team has played, and 
  3. the number of wins the team has. 
When they click on a "calculate winning percentage" button, the teams winning percentage (numberWins / numberGames) should be displayed in a multi-line text area (using the team's name and proper English). The form should then have the focus put on the team name entry field, and that field should be selected (so the user can just start typing a new team name). There should be a reset button, and a (normal) button to erase the multi-line textarea.

The message displayed should be something like:
The Minnesota Vikings have played 8 games and have won 2 of them,
so their winning percentage is 0.25

If you need help deciding how to start: