A responsive single-page website built to inspire and track climate action by allowing individuals to:
- β Take a voluntary climate pledge
- βοΈ Record their sustainability commitments
- π§Ύ Instantly receive a personalized certificate
- π§βπ€βπ§ Be featured on a public pledge wall
- π View live community impact metrics
π Live Site: Your Live Link Here π Source Code: GitHub Repository
- Motivational banner with a clear climate call-to-action
- "Take the Pledge" button with smooth scroll to form
- Dynamic counters for:
- Total pledges (simulated from backend + base number)
- Daily average
- Community goal progress (target: 1,000,000)
- Profile distribution: Students, Professionals, Others
- Highlights the importance of individual action
- Bite-sized facts with icons to build awareness
- Fields: Full Name, Email, Mobile, State, Profile
- 9 total commitments under 3 themes (min 3 required)
- Validation for completeness and accuracy
- Instant personalized certificate upon form submission
- Includes:
- User's name
- Number of commitments
- Rating (1β5 stars)
- Date of pledge
- Motivational message
- Options to Print and Share
- Displays pledge info: Name, State, Profile, Date, Commitments, Rating
- Pledge data fetched from Google Sheets
- "Load More" functionality for scrolling
- Email and mobile are required but never shown
- Used only for backend validation
- Privacy note displayed clearly on the form and footer
| Frontend | Backend (Mock) | Deployment |
|---|---|---|
| HTML5, TailwindCSS, JS | Google Apps Script + Sheets | GitHub Pages |
# 1. Clone this repo
git clone https://github.com/YourUsername/Climate-Pledge-WebApp.git
# 2. Open in your code editor or simply open index.html in browser
cd Climate-Pledge-WebApp