HTML and CSS Reference
In-Depth Information
Exercises
1. Create a form that contains a set of checkboxes with different types of coffees—
espresso, cappuccino, mocha, and so on. Ask the user for his or her name and
room number and to select a type of coffee. Tell the user you will be sending the
coffee to that room number. Create a cookie to remember the user's preference.
The next time the user brings up the page, tell him or her there is a special rate
for his or her (use the cookie value) favorite coffee.
2. Create a form that asks for the user's shipping address. The next time the user
brings up the page, fill in the address using a cookie value.
Search WWH ::




Custom Search