vanilla-JS-shopping-cart

SAView on GitHubFebruary 28, 2023
coding-project
freecodecamp
freecodecamp-project
website

Vanilla JS shopping cart

This is a simple shopping cart project built with vanilla JavaScript.

Features

  • Add items to cart
  • Remove items from cart
  • Calculate cart total
  • Clear cart

Getting Started

To run this project, simply open the index.html file in your browser.

Usage

  • Click the "Add to Cart" button to add an item to your cart.
  • View your cart by clicking the shopping cart icon in the top right corner of the page.
  • Remove items from your cart by clicking the "Remove" button next to the item in the cart.
  • Clear your cart by clicking the "Clear Cart" button.

Credits

This project was inspired by the shopping cart project in The freeCodeCamp.