Original readme: https://github.com/henil-ciccc/0523-OOP-Midterm-Project#readme
- View a list of products with details including title, price, description, and image.
- Add products to a shopping cart.
- Calculate the total price of items in the shopping cart.
- Place an order and view a summary of the products in the cart.
Product.js
: Defines theProduct
class representing individual products.ProductItem.js
: Contains theProductItem
class responsible for rendering product information.ProductList.js
: Manages fetching and rendering the list of products.Shop.js
: Manages the entire application, fetching products, and rendering them.ShoppingCart.js
: Handles shopping cart functionality(adding, rendering).
- Click the "Add to Cart" button on a product card to add it to the shopping cart.
- The cart's total price will be updated as you add products.
- Click the "Order Now" button to view a summary of the products in the cart. The summary will be displayed in the console.
TOTAL: 405.41
ShoppingCart.js:61 1: Fjallraven - Foldsack No. 1 Backpack, Fits 15 Laptops x1 109.95
2: Mens Casual Premium Slim Fit T-Shirts x5 111.5
3: Mens Cotton Jacket x3 167.97
4: Mens Casual Slim Fit x1 15.99