Online Store Buying Page with Cart
This project showcases a simple online buying page with "Add to Cart" buttons and a cart page using HTML, CSS, and JavaScript. Users can browse through products, add them to their cart, and view the items in their cart. Features
Product listings with images, names, prices, and "Add to Cart" buttons.
Cart functionality to add and remove items.
Total price calculation for items in the cart.
Responsive design for a seamless experience on different devices.
Usage
Clone the repository to your local machine.
bash
git clone https://github.com/your-username/online-store.git
Navigate to the project directory.
bash
cd online-store
Open the index.html file in a web browser to access the buying page.
Browse through the products and click the "Add to Cart" button to add items to your cart.
Click the "Cart" link in the navigation to view the items in your cart.
On the cart page, you can adjust the quantities of items or remove them from the cart.
Technologies Used
HTML: Markup for the page structure.
CSS: Styling for the layout and appearance.
JavaScript: Handling cart functionality and calculations.
Structure
index.html: The main buying page with product listings and "Add to Cart" buttons.
cart.html: The cart page showing the items added to the cart.
styles.css: CSS styles for the pages.
script.js: JavaScript code for cart functionality and calculations.