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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!