Question: INDEX.HTML + STYLE.CSS Question 2 Make the title of this page: (Your Name)s Grocery Shopping List. Put a single button on the screen. When the
INDEX.HTML + STYLE.CSS
Question 2 Make the title of this page: (Your Name)s Grocery Shopping List. Put a single button on the screen. When the user clicks the button, prompt the user twice: once for the name of an item for the shopping list and again for the price. After the user enters the two required elements, the program loops and asks the user for two additional elements. If the user enters done for a shopping list item, then the program quits. For this question, you must use a while loop. Once the loop ends, display a table of all of the items and their prices. After the table, display the total price of all of the items. This program is tricky. Think about an instance in which the program starts and the user immediately clicks done. What should happen? The program should display that the total of all items is $0.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
