Added New Quiz about Climate Change - Climate Clarity#126
Open
muskanraagi wants to merge 1 commit into
Open
Conversation
##Summary Adds a new quiz category, Climate Change Basics, to the Pollution Quiz Center alongside the existing pollution/environment-focused quizzes. ##Changes Added a new climate-basics entry to the QUIZ_SETS object in QuizSection.jsx Includes 7 multiple-choice questions covering foundational climate change concepts: 1.The greenhouse effect 2.CO2 as the primary driver of human-caused warming 3.Fossil fuel combustion as the main source of rising emissions 4.Sea level rise as a consequence of warming 5.Carbon footprint definition 6.The Paris Agreement's goal 7.Renewable energy as a mitigation practice Each question follows the existing schema (question, options, answer, explanation) with no structural changes to the component ##Why Broadens the quiz center beyond pollution/AQI topics to include core climate science, giving users a more complete environmental knowledge test. ##Testing No logic changes to QuizSection, QuizSelector, or QuizResult — the new quiz renders automatically via the existing Object.entries(QUIZ_SETS) map Manually verified the new quiz appears as a selectable card, all 7 questions render, scoring/progress bar work correctly, and results screen displays as expected
|
@muskanraagi is attempting to deploy a commit to the Aditya Mahajan's projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
@muskanraagi thanks for the contribution but the issue #121 was assigned to @speco29 and has raised a pr for that issue If she fails to do the changes, I will come back to this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new quiz category, Climate Change to the Pollution Quiz Center alongside the existing pollution/environment-focused quizzes.
###Changes
Added a new climate-basics entry to the QUIZ_SETS object in QuizSection.jsx Includes 7 multiple-choice questions covering foundational climate change concepts:
1.The greenhouse effect
2.CO2 as the primary driver of human-caused warming 3.Fossil fuel combustion as the main source of rising emissions 4.Sea level rise as a consequence of warming
5.Carbon footprint definition
6.The Paris Agreement's goal
7.Renewable energy as a mitigation practice
Each question follows the existing schema (question, options, answer, explanation) with no structural changes to the component
###Why
Broadens the quiz center beyond pollution/AQI topics to include core climate science, giving users a more complete environmental knowledge test.
###Testing
No logic changes to QuizSection, QuizSelector, or QuizResult — the new quiz renders automatically via the existing Object.entries(QUIZ_SETS) map Manually verified the new quiz appears as a selectable card, all 7 questions render, scoring/progress bar work correctly, and results screen displays as expected
Closes #121