This project is an eCommerce website built using HTML, CSS, and JavaScript. It features a fully functional shopping cart, product listing, and interactive quantity control for adding or removing items from the cart. Product information is stored in local memory using JavaScript.
- Product Listing: Display of various products available for purchase.
- Shopping Cart: Ability to add products to the cart, view items in the cart, and adjust quantities.
- Quantity Control: Interactive buttons (+ and -) to increment or decrement the quantity of products in the cart.
- Local Storage: Use of JavaScript to manage product data and cart state in local memory.
- HTML: Structuring the website layout and content.
- CSS: Styling the website for a visually appealing design.
- JavaScript: Implementing dynamic behavior, cart functionality, and local data storage.
To run this eCommerce website locally or integrate it into your project, follow these steps:
- Clone the Repository:
git clone https://github.com/SourabhRajput123/EcommerceWebsite.git
- Install Dependencies (if applicable):
If your project requires Node.js packages, navigate to the project directory and run:
npm install
- Start the Project:
To launch the project, use the following command:
npm run dev
- Open the Website:
Open
index.html
in a web browser to view the eCommerce website. Interact with the product listing, add items to the cart, and adjust quantities using the provided buttons.
index.html
: HTML file containing the website structure and content.style.css
: CSS file for styling the website layout and appearance.script.js
: JavaScript file implementing dynamic behavior, cart functionality, and local data storage.
Contributions are welcome! If you have any suggestions, improvements, or feature requests, feel free to open an issue or submit a pull request.