Week 7

Lecture Notes:

Next Week: Windows & Frames

Practice Quizzes:

Homework:

Assignment 5: Due 24 Nov

Shopping Cart & Checkout, & Page Counter

  • (571.htm) Build a mini Shopping Cart and Checkout Counter which meets the following criteria:
    • Use these functions (listed above)
    • 4 Item Catalog
    • At the Checkout Counter allow the person to Delete, or Change the quantity of an item.
    • Make sure that the Total reflects the content of the Shopping Cart.

    One possible set of "templates" are the catalog & cart for this exercise - but do not use these cookie functions, use these functions instead.

    The cart should look something like the following examples:

    • Cart 1 (button with onClick)
    • Cart 2 (text field with onChange)

    To reload a page through a function you should use location.reload().