EcoMart πΏ
EcoMart is a simple, user-friendly e-commerce website offering eco-friendly products. Our mission is to make sustainable living accessible and convenient for everyone. This project demonstrates how to build a modern, responsive web application using HTML, CSS, JavaScript, and Bootstrap.
Features β¨
- Dynamic Navbar & Footer: Reusable and responsive components implemented with Bootstrap.
- Featured Products Section: Highlights selected products dynamically loaded from JavaScript.
- Shop Page: Displays all available products with responsive cards.
- About Us Page: A detailed, responsive layout introducing EcoMart's mission and values.
- Sustainable Design: Focused on simplicity, accessibility, and eco-friendly branding.
Tech Stack π οΈ
- Frontend: HTML, CSS, JavaScript, Bootstrap
- Icons: Favicon and assets
- Responsive Design: Bootstrap's grid system and utility classes
Folder Structure π
EcoMart/
β
βββ assets/ # Images, icons, and other static assets
β βββ icons/
β βββ images/
β
βββ bootstrap/ # Bootstrap CSS and JS files
β βββ css/
β βββ js/
β
βββ css/ # Custom CSS styles
β βββ main.css
β
βββ data/ # Product data in JavaScript
β βββ featuredProducts.js
β βββ products.js
β
βββ js/ # JavaScript functionality
β βββ index.js
β
βββ pages/ # Individual website pages
β βββ about.html
β βββ contact.html
β βββ shop.html
β
βββ index.html # Home page
βββ README.md # Project documentation
Installation π οΈ
-
Clone the repository:
git clone https://github.com/your-username/ecomart.git cd ecomart -
Open the project in your preferred code editor.
-
Launch the project in your browser by opening
index.html.
Usage π
-
Navigate to different sections:
- Home Page: Features eco-friendly products.
- Shop Page: View all available products.
- About Us Page: Learn more about EcoMartβs story and mission.
- Contact Page: Reach out to EcoMart.
-
Modify products:
- Update
data/featuredProducts.jsanddata/products.jsto customize product details.
- Update
-
Customize styles:
- Modify
css/main.cssfor additional styling or override Bootstrap classes.
- Modify
Contributing π€
Contributions are welcome! If you have ideas for improving this project, follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
- Make your changes and commit them:
git commit -m "Added a feature" - Push to your branch:
git push origin feature-branch-name
- Submit a pull request.
License π
This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgments π
- Bootstrap for responsive design and components.
- Inspiration and support from the global eco-friendly community.
Author π»
Created by Shawaiz Khan. Connect with me:
On this page
Contributors
MIT License
Created January 14, 2025
Updated February 21, 2026