EcoNudge is a lightweight, eco-friendly Chrome extension designed to inspire sustainable habits through daily eco-tips, progress tracking, and gamified elements. With a minimalistic design and dark mode feature, it seamlessly integrates into your browser to promote environmental mindfulness.
- Daily Eco-Tips: Receive a curated tip every day to make small, impactful changes to your daily habits.
- Save Tips: Bookmark your favorite eco-tips for future reference.
- Progress Tracking: Track your progress weekly using a dynamic progress bar.
- Achievements & Badges: Unlock badges for completing weekly eco-tips.
- Dark Mode: Toggle between light and dark modes for a comfortable user experience.
- View Favorites: Easily access and manage your saved tips.
The project consists of the following key files:
popup.html: Main HTML file for the Chrome extension popuppopup.js: JavaScript file containing app logicstyle.css: Styling for the extension UImanifest.json: Chrome extension manifest fileicon128.png: Extension logo
- HTML: Structuring the user interface.
- CSS: Styling with modern, responsive design, including light and dark modes.
- JavaScript: Core logic for eco-tips, localStorage integration, and progress tracking.
- Chrome APIs: Utilizing extension APIs for a seamless browser experience.
-
Daily Eco-Tip:
- Each day, a new tip is displayed based on the date.
- Tips are sourced from a predefined array.
-
Save Tips:
- Clicking the "Save to Favorites" button stores the tip locally for easy access later.
-
Progress Tracking:
- Completing a tip updates your weekly progress.
- Weekly progress resets at the start of a new week.
-
Achievements:
- Users unlock badges upon completing all tips in a week, encouraging consistent engagement.
-
Dark Mode:
- Users can toggle a dark theme for better visual comfort, especially in low-light conditions.
- Clone or download the repository.
- Navigate to
chrome://extensionsin your browser. - Enable Developer Mode.
- Click on Load Unpacked and select the EcoNudge project folder.
- The EcoNudge extension will appear in your browser's extension menu.