How kaustubh-hub/go-green works
Go Green is a static sustainability website centered on helping visitors understand and reduce personal environmental impact. Its main interactive workflow is entering electricity, gas, and driving use in the footprint calculator, viewing a calculated monthly and annual result with category breakdowns and tailored tips, and optionally retaining the latest result in browser storage. Other documented capabilities include emission statistics, general green tips, and SDG information. The available evidence shows calculator and shared authentication behavior; page-to-page wiring for the other capabilities is not established.
Main entry points: calculator.js Calculate and display · CAL.html Calculator page · login.html Login and signup · user.js Shared auth state
Components 10
Footprint tracking
- Calculator page
CAL.html - Calculate and display
calculator.js - Latest footprint
- Emission statistics
emission-stats.html
Account state
- Login and signup
login.html - Shared auth state
user.js
Sustainability guidance
- Green tips
tips.html - SDG information
sdg.html - Sustainability topics
agriculture.html
Other components
- Visitor
Connections 6
- Visitor → Calculator page: enters data
- Calculator page → Calculate and display: submits form
calculator.js - Calculate and display → Calculator page: renders results
calculator.js - Calculate and display → Latest footprint: stores result
calculator.js - Login and signup → Shared auth state: renders auth state
- Visitor → Login and signup: uses account pages