The next few homework assignments will result in a small product bidding/sales estimation system. The first step is very modest; you will create a single web page with HTML and JS with no backend. (A prototype backend will be handed out later.)
As before, you can work with a partner or alone. It will be simpler if you stay with the same partner through the next few assignments, but this will not be required. That is, you will be able to change or drop partners.
For this week, create an HTML page that has one input screen. Your screen must have a title and instructions. It will have one text field where a user can enter the product name (for example: Large six-drawer dresser). The screen will then have a text box (multiple lines) where the user can provide a description of the item. The screen will have a submit button and three mutually exclusive buttons to choose a starting bid of one, ten, or one hundred dollars. Finally, the screen will have a text box where the user can enter a bid amount manually, if none of the starting bids are selected.
Note these buttons will not work in this assignment, we will get to the backend later.
To make the form handling simple,
you can use a prototype "general form handler" servlet that I prepared as a class example.
Your HTML will send all data to this program,
and it echoes the inputs to the user.
See the Information Form example.
It includes the HTML form tag:
form method="post" action="http://cs.gmu.edu:8080/offutt/servlet/formHandler">
Copy this verbatim into your HTML. When the user presses a submit button, all data submitted will be echoed to the user's screen, just as in the example.
See Piazza for an updated grading rubric, and post any questions there :-)
Submit your page by placing a link to it on your class website. Your file should have the name
Partners' websites should both link to the same web page.
We will access each assignment shortly after the due date
and not look at your web site afterwards.
Making your web page available to me and the TA is your responsibility. If we cannot access your file then you will not get credit. Be sure to test access to your file before the due date.