Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

50Projects-HTML-CSS-JavaScript : E-commerce website #48

Merged
merged 4 commits into from
Dec 22, 2024

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