Skip to content

Commit 1c3bde1

Browse files
committed
2 parents 62e73c6 + 86c9c8b commit 1c3bde1

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

03_quiz-app/script.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// --- 1. QUIZ DATA AND STATE ---
21
const quizData = [
32
{
43
question: "What is the capital of Uttar Pradesh?",
@@ -31,6 +30,21 @@ const quizData = [
3130
question: "Who is not a bollwood actor?",
3231
options: ["Sharukh Khan", "Vijay Setupati", "Akshay Kumar", "Salman Khan"],
3332
answer: "Vijay Setupati"
33+
},
34+
{
35+
question: "What is the capital of India?",
36+
options: ["Mumbai", "New Delhi", "Kolkata", "Bangalore"],
37+
answer: "New Delhi"
38+
},
39+
{
40+
question: "Which planet is known as the Red Planet?",
41+
options: ["Mars", "Venus", "Jupiter", "Saturn"],
42+
answer: "Mars"
43+
},
44+
{
45+
question: "What is the largest ocean on Earth?",
46+
options: ["Atlantic Ocean", "Indian Ocean", "Arctic Ocean", "Pacific Ocean"],
47+
answer: "Pacific Ocean"
3448
}
3549
];
3650

@@ -154,4 +168,4 @@ restartBtn.addEventListener('click', () => {
154168
});
155169

156170

157-
loadQuestion();
171+
loadQuestion();

0 commit comments

Comments
 (0)