Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
<title>Pollution Control Hub</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap" rel="stylesheet" />
<script type="module" crossorigin src="/assets/index-pHlDpPA6.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CBCbAjdA.css">
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap" rel="stylesheet" />

<script type="module" crossorigin src="/assets/index-DWT-vind.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-B2IDjpo8.css">
<script type="module" crossorigin src="/assets/index-pHlDpPA6.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CBCbAjdA.css">
</head>
<body>
<div id="root"></div>
<div id="root"></div>

</body>
</html>
38 changes: 37 additions & 1 deletion src/components/QuizSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,43 @@ const QUIZ_SETS = {
explanation: 'Energy sector produces largest emissions and is crucial to transition.'
}
]
}
},
'climate-basics': {
name: 'Climate Change Basics',
desc: 'Test your foundational knowledge of climate change causes and effects.',
questions: [
{
question: 'What is the primary cause of current global warming?',
options: ['Solar flares', 'Human greenhouse gas emissions', 'Volcanic eruptions', 'Ocean currents shifting'],
answer: 'Human greenhouse gas emissions',
explanation: 'Burning fossil fuels releases CO2 and other gases that trap heat in the atmosphere.'
},
{
question: 'Which gas is the largest contributor to the greenhouse effect from human activity?',
options: ['Oxygen', 'Carbon dioxide (CO2)', 'Nitrogen', 'Argon'],
answer: 'Carbon dioxide (CO2)',
explanation: 'CO2 from burning fossil fuels is the largest driver of human-caused warming.'
},
{
question: 'What is the "greenhouse effect"?',
options: ['Plants growing faster', 'Gases trapping heat in the atmosphere', 'Ozone layer healing', 'Ocean cooling process'],
answer: 'Gases trapping heat in the atmosphere',
explanation: 'Greenhouse gases trap solar heat, warming the planet like a greenhouse traps warmth.'
},
{
question: 'What is a major consequence of melting polar ice caps?',
options: ['Lower sea levels', 'Rising sea levels', 'Increased ozone', 'Decreased temperatures'],
answer: 'Rising sea levels',
explanation: 'Melting ice adds water to oceans, raising sea levels and threatening coastal areas.'
},
{
question: 'Which action helps mitigate climate change most effectively?',
options: ['Increasing coal use', 'Transitioning to renewable energy', 'Deforestation', 'Ignoring emissions'],
answer: 'Transitioning to renewable energy',
explanation: 'Renewable energy sources like solar and wind produce far fewer emissions than fossil fuels.'
}
]
},
};

function QuizSelector({ onSelectQuiz }) {
Expand Down
Loading