Skip to content

feat: Add Interactive Pollution Quiz page (quiz.html) - #295

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

feat: Add Interactive Pollution Quiz page (quiz.html)#295
Riya-Kharade wants to merge 1 commit into
vinaysingh282006:mainfrom
Riya-Kharade:quiz-page

Conversation

@Riya-Kharade

@Riya-Kharade Riya-Kharade commented Mar 1, 2026

Copy link
Copy Markdown
Contributor

📌 Description

This PR introduces a new Interactive Pollution Quiz page to EcoPulse.

The page includes 10 multiple-choice questions designed to test
users’ environmental awareness and knowledge about pollution.

closed #285


✨ Changes Made

  • Created new file: quiz.html
  • Implemented 10 MCQs with dynamic question rendering
  • Added score calculation logic
  • Introduced eco-rating system (Beginner / Aware / Eco Expert)
  • Added restart quiz functionality
  • Added share score button
  • Applied responsive eco-themed design
  • Added navigation back to homepage

🎯 Purpose

This feature:

  • Increases user engagement
  • Encourages environmental learning
  • Adds gamification to the platform
  • Strengthens hackathon and portfolio value
  • Makes EcoPulse interactive and educational

🧪 Testing

  • Verified question navigation logic
  • Tested score calculation
  • Checked eco-level classification
  • Ensured responsive layout across devices

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.

[Feature Request] Add Interactive Pollution Quiz Page (quiz.html)

1 participant