js-munich-2020-spring

Homework 8 – Store

Start working on your little online store prototype and practice objects, arrays and loops.

Important: do not forget to do your homework on a separate branch with meaningful name

Spec

We going to refactor and add some extra functionalities to your online store.

  1. Add an “Add to shopping cart” button in each product.
  2. Save each product when that the user clicks on “Add to shopping car” button in an array and the button should be disabled once the user add the product in the shopping cart.
  3. Add “Show shopping cart” button.
  4. Display the list of products saved in the shopping cart when the user clicks on “Show shopping cart list” button.
  5. Display the total price of your shoping card.

Deadline

Saturday 18:00 02.05.2020

Lecture slides

Lesson 8 - Loops