Question: Create a simple web application with responsive design. The index.php page looks like the following. If user clicks on Reservation, a reservation page will appear
Create a simple web application with responsive design. The index.php page looks like the following.
If user clicks on Reservation, a reservation page will appear as a web form. The Reservation form for this resort asks the user to enter the following information. a First name b Last name c Address includes number&street, city, state, zip d Duration of stay ie check in and checkout dates e Room type use a drop down or a data list. King, Queen, Suit f Phone number in the format of US phone g Email address must legal format like someone@abc.com h How many people of this reservation i Payment method use a dropdown list. MC VISA, AMEX, Discover j Card number digits a group, total of four groups, digits total. Only accept if input digits k Special requests field is optional field and not a required field.
First name field will be autofocused when this page is loaded. All fields are required except Special Requests field. To simplify this application, assume there are three room types: King, Queen, and Suite. King costs $ Queen $ and Suite $ The tax rate is If the user will stay three nights and chose Queen room, then the total charge would be $ which is equal to $ $ Similarly for Suite room type, the total charge of three nights saty will be $ $ Assuming we entered the data as the following. Note our checkin date and checkout date are the same. We allow this and treated as one day stay.
Your website will respond as the following Total charge is
For this project, we dont store the reservation information into database. So you dont have to use database.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
