This is a submission for Weekend Challenge: Earth Day Edition
What I Built
I built Eco AI Earth Tracker ππ€ β a gamified web application designed to encourage eco-friendly habits in a fun and interactive way.
Instead of just reading about sustainability, users actively participate by completing eco actions like recycling, saving water, and planting trees π±
Each action increases their score and updates:
β’ A dynamic Earth health system (from βweakβ to βthrivingβ) π
β’ A badge progression system π
β’ A simple AI-style Earth Advisor chatbot that gives eco tips π€
β’ A client-side leaderboard that ranks players based on their eco actions
The goal of this project was to make environmental awareness more engaging, visual, and interactive.
Demo
Live Demo: click here
Code
GitHub Repository: https://github.com/mcoaiorg/eco-ai-tracker
Tech Stack
β’ HTML β structure
β’ CSS β responsive UI and styling
β’ JavaScript β game logic, chatbot, interactions
β’ LocalStorage β saving scores and leaderboard data locally
β’ Canvas Confetti β celebration effects π
How I Built It
I built this project using a fully frontend approach with HTML, CSS, and JavaScript.
The core idea is a feedback loop system:
User actions β Points β Visual feedback β Progression
Key features include:
β’ A scoring system that tracks eco-friendly actions in real time
β’ A dynamic Earth health bar that visually reflects user impact π
β’ A rule-based chatbot that responds to sustainability-related queries π€
β’ A client-side leaderboard system using LocalStorage to simulate competition π
β’ UI enhancements like confetti animations and sound feedback for engagement
The design is fully responsive and works smoothly across mobile and desktop devices.
AI was used as a helper tool for small parts of logic and chatbot responses, while the overall structure, design, and integration were built manually.
Team Submissions
Solo project by: @mastercotutorials
Top comments (0)