Clarissa M.

asked • 03/06/21

NEED HELP ASAP!!

How do I put the prices for the toppings, pizza size, and drinks in HTML and Javascript code?


I used the radio button for the pizza toppings (Pineapple, Cheese, and Black Olives) and pizza sizes (small, medium, and large) in HTML. Do I put the prices like this: value ="Black Olives" value ="20"?

Pineapple is $5 for small, medium $10, and large $12.

Cheese is $10 for small, medium $12, and large $14.

Black Olives are $20 for small, medium $22, and large $24.

Coke, Pepsi, Canada dry. Each drink is $2.


How do I display the subtotal and tax($0.13) and then grand total in label or span tag? And when selecting them, the button for the total amount is "Amount".

1 Expert Answer

By:

Patrick B. answered • 03/06/21

Tutor
4.7 (31)

Math and computer tutor/teacher

Dylon M.

can someone answer me
Report

05/21/21

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.