Skip to content

Conversation

tajulafreen
Copy link
Owner

Added E-Commerce Product Page with Cart Functionality

What was done:

  • Created a simple e-commerce product page displaying products fetched from a public API (https://fakestoreapi.com/products).
  • Added a "Add to Cart" functionality that allows users to add products to their cart.
  • Implemented a modal to view the cart with product names, quantities, and total prices.
  • Styled the product list and cart modal for better user experience.

Features:

  • Add to Cart: Users can click "Add to Cart" to add a product to their cart.
  • View Cart: Clicking the "View Cart" button in the navbar opens a modal displaying the cart items.
  • Cart Items: Cart shows product name, quantity, and total price for the added products.

@tajulafreen tajulafreen merged commit ed7b713 into main Dec 22, 2024
5 checks passed
@tajulafreen tajulafreen deleted the E-commerce_Website branch December 22, 2024 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant