Skip to content

feat: Add Carbon Footprint Calculator page (carbon-calculator.html) - #273

Closed
Riya-Kharade wants to merge 1 commit into
vinaysingh282006:mainfrom
Riya-Kharade:calculator
Closed

feat: Add Carbon Footprint Calculator page (carbon-calculator.html)#273
Riya-Kharade wants to merge 1 commit into
vinaysingh282006:mainfrom
Riya-Kharade:calculator

Conversation

@Riya-Kharade

@Riya-Kharade Riya-Kharade commented Feb 28, 2026

Copy link
Copy Markdown
Contributor

📌 Description

This PR introduces a new Carbon Footprint Calculator page to EcoPulse.

The page allows users to estimate their monthly carbon emissions based on travel habits, electricity usage, and diet type.

closed #258


✨ Changes Made

  • Created new file: carbon-calculator.html
  • Added interactive input fields (Travel, Electricity, Diet)
  • Implemented carbon footprint calculation logic using Vanilla JavaScript
  • Added impact level classification (Low, Moderate, High)
  • Provided personalized sustainability suggestions
  • Applied responsive Tailwind eco-theme styling
  • Added navigation back to homepage

🎯 Purpose

This feature:

  • Increases user interactivity
  • Encourages personal environmental awareness
  • Enhances platform engagement
  • Improves hackathon and portfolio presentation value
  • Transforms EcoPulse from informational to action-driven

🧪 Testing

  • Verified calculation logic
  • Tested different input combinations
  • Checked responsive layout
  • Ensured consistent eco-theme styling

Screenshot

image image

No backend changes were introduced.

@Riya-Kharade Riya-Kharade closed this by deleting the head repository Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Carbon Footprint Calculator Page

1 participant