Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How would I create the HTML markup and javascript for this? You need to create HTML form: Your HTML page will have HTML form which
How would I create the HTML markup and javascript for this?
You need to create HTML form: Your HTML page will have HTML form which will have below fields Last Name: text box, First Name: text box Phone Number: text box Radio button group for pizza size 1) Small 2) medium 3) Large Radio button group to select the pizza crust : 1) thin 2) hand tossed 3) regular : No extra charges for pizza crust. Radio button group for: 1) veg loves 2) pepperoni 3) cheese Price for Veg lovers is 10$ for small : medium is 12 and large is 14. Price for pepperoni is 20 for small medium for 22 and large for 24. Price for cheese is 30 for small ,medium for 32 and large for 34. Drop down for drink selection : coke, sprite , Canada dry. Each drink is $2. Button to calculate Amount : On button click of this, you should call javascript function to validate all the fields. Remember that all the fields are required. Once all the fields are valid , display subtotal tax separately and then grand total in label or span tag. For eg: person has selected veg lovers for 10 $ and a drink then the total will be 10+2 = 12 and tax will be 12*0.13 and grand total will be 12*1.13 | Small 10 20 medium 12 22 large 14 24 Veg lovers Pepperoni Cheese Drinks 32 34 30 2 N 2Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started