Write a program which accepts pizza orders, using this order form; Small cheese
ID: 3817959 • Letter: W
Question
Write a program which accepts pizza orders, using this order form; Small cheese pizza is $10, Medium cheese pizza is $12, Large pizza is $15. Additional toppings are $1 each.
Form should contain input fields to take your name and phone number.
Three sizes radio option button – small, medium, large
Toppings check boxes for each – Pepperoni, Onions, mushroom, sausage, peppers
Combo box with drop down saying “Eating-in, Pick-up, Delivery “
Based on selections by user, provide your cost for the pizza, print a label which says the following
Example: “sami 412-999-3344 pick-up small pizza $15” ( I have chosen a small pizza with all 5 toppings)
Explanation / Answer
<!DOCTYPE html>
<html>
<body>
<form>
First name:<br>
<input type="text" name="name">
<br>
Last name:<br>
<input type="mobile number" number="cell number">
<input type="radio" name="option" value="small"> Small<br>
<input type="radio" name="option" value="medium"> Medium<br>
<input type="radio" name="option" value="large"> Large
<input type="checkbox" name="Toppings" value="Pepp">Pepperoni<br>
<input type="checkbox" name="Toppings" value="On">Onions<br>
<input type="checkbox" name="Toppings" value="Mu">mushroom<br>
<input type="checkbox" name="Toppings" value="Sa">sausage<br>
<input type="checkbox" name="Toppings" value="Pe">peppers<br>
<select>
<option value="eating choice">Eating-in</option>
<option value="eating choice"> Pick-up</option>
<option value="eating choice">Delivery</option>
</select>
</form>
</body>
<html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.