Exercise 16 Shopping Cart Id Name Price Qty Subtotal 1 White Jersey 59.99 1 3 Blue Jacket 129.99 2 | 59.99 | 259.98 SubTotal $319.97 GST S16.00 PST $25.20 Total S361.17 Recalculate You get free...



  • Create a new file cart.html

  • You must get and set the data on the web page by using document.getElementById( ). Each HTML element on the web page already has an id so it is easy.

  • No need for a loop to go through the list of products, there is only 2 products and the info is hard coded on the web page.

  • You must write the code for function
    cartTotal().


Exercise 16 Shopping Cart<br>Id<br>Name<br>Price<br>Qty<br>Subtotal<br>1 White Jersey 59.99 1<br>3 Blue Jacket 129.99 2<br>| 59.99<br>| 259.98<br>SubTotal $319.97<br>GST S16.00<br>PST $25.20<br>Total S361.17<br>Recalculate<br>You get free shipping !<br>

Extracted text: Exercise 16 Shopping Cart Id Name Price Qty Subtotal 1 White Jersey 59.99 1 3 Blue Jacket 129.99 2 | 59.99 | 259.98 SubTotal $319.97 GST S16.00 PST $25.20 Total S361.17 Recalculate You get free shipping !

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here