Question: question as the below code body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif } // Video Demonstration - https://youtu.be/9CH7_BiI_1A var totalAmount = 0; var

question as the below code

Grocery List

Add Item

Description:

Amount:

Grocery Cart

Total

Total: $

Tax: $

Total with Tax: $

there question or code need to be add inside the code as

# Follow these instructions in the html document

1. Add the value of newAmount to the running total totalAmount. Tip: Use parseFloat()

2. Concatenate the value of Item Description into the table. Change item to the value of itemDescription

3. Display totalAmount in element with id="totalAmountBeforeTax"

4. Calculate tax as 7% of total (totalAmount)

5. Display tax in element with id="totalTax"

6. Display totalAmount + tax in element with id="totalAfterTax"

7. Display all currency values that are output to display 2 decimal places

Hint: use toFixed()

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!