Shopping Cart with Context and Tailwind CSS
Overview
This project is a simple implementation of a shopping cart using Context for state management and Tailwind CSS for styling. It allows users to add items to their cart, remove items, and adjust quantities.
Features
- Add items to the shopping cart
- Remove items from the shopping cart
- Adjust quantities of items in the shopping cart
- Responsive design with Tailwind CSS
Installation
- Clone the repository:
git clone https://github.com/your-username/your-repo.git
- Navigate to the project directory:
cd your-repo
- Install dependencies:
npm install
- Start the development server:
npm start
- Open your browser and visit
http://localhost:3000
to view the app.
Usage
- Browse the available items in the store.
- Click the "Add to Cart" button to add items to your shopping cart.
- View your shopping cart by clicking on the cart icon.
- Adjust item quantities or remove items as needed.
- Proceed to checkout when ready.
Technologies Used
- Context
- React
- Tailwind CSS
- JavaScript
Contributing
Contributions are welcome! If you find any bugs or have suggestions for improvement, please open an issue or submit a pull request.
License
This project is licensed under the MIT License.