Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.51 KB

File metadata and controls

42 lines (27 loc) · 1.51 KB

Shopping Cart Management Project

This project is a simple shopping cart management system built with JavaScript. Users can add, remove, and delete items from their cart, and the cart state is saved in localStorage, ensuring that cart data persists even after page reloads.

Table of Contents

Introduction

The Shopping Cart Management Project is a lightweight web application that allows users to manage a cart by adding, removing, and deleting items. The state of the cart is saved in localStorage, ensuring a persistent user experience. This project serves as a great example for understanding cart functionality in an e-commerce environment.

Features

  • Add items to the cart with a quantity selector.
  • Remove items or decrease item quantity.
  • Delete items entirely from the cart.
  • Persistent cart saved to localStorage for future access.
  • Simple and user-friendly UI for managing cart items.

Prerequisites

To run this project locally, you need to have a modern browser that supports JavaScript and access to a basic web server (optional for local testing).

Setup

  1. Clone the repository:
    git clone https://github.com/JS-Knights/Carto.git
    

Usage

  • Add items to your cart by clicking the plus button.
  • Remove items by clicking the minus button.
  • Delete items by using the delete button.
  • The cart will update dynamically and save the state to localStorage.