with a unique id that will display the answer. Save this assignment as a8.html. Be sure to link your index.html page to a8.html so it can be graded. Hints • One function should perform all the tasks that need to be done • The conditionals for each “topping” should be an if statement. You do not use else or else if for these: code for extra cheese (or whatever) if (some code) { do some code } • The conditional that you use for Pickup or Delivery should be an if / else if / else statement: pickup if (some code) { do some code } delivery else if (some code) { do some code } neither selected else { do some code } • If you missed class the day this was assigned, watch the recording for Class 16. • This assignment is due one week from the day it is assigned. • See screenshots on the next page for tips on how your webpage should look. Screenshots of how your page should look How the page should look when it loads. (Be sure to add your own choices for toppings and your choice of prices for each topping.) How the page should look when the button is pressed. Notice that the words “Your total is: $” plus the cost appears at the bottom. How the page should look if you click the button ut do not select a size. How the page should look if you click the button ut do not select Pickup or Delivery.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here