-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathquestion.js
71 lines (70 loc) · 1.74 KB
/
question.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// creating an array and passing the number, questions, options, and answers
let questions = [{
numb: 1,
question: "All are kind of prayer in islam except?",
answer: "Solawat",
options: [
"Dhikr",
"Solat",
"Solawat",
"Du'a"
]
},
{
numb: 2,
question: "Which of the following verse combination talk about war or fight?",
answer: "Q 2:190 Q 22:39",
options: [
"Q 2:197 Q 22:29",
"Q 2:190 Q 22:39",
"Q 2:140 Q 23:39",
"Q 1:190 Q 22:39"
]
},
{
numb: 3,
question: "What was the nickname given to the prophet?",
answer: "Al Ameen",
options: [
"Al Muheez",
"As Salam",
"Al Ameen",
"Al Amin"
]
},
{
numb: 4,
question: "Prophet Muhammad had how many offspring?",
answer: "7",
options: [
"6",
"8",
"7",
"5"
]
},
{
numb: 5,
question: "Prophet Muhammad belong to which family?",
answer: "Quraiysh",
options: [
"Quraiysh",
"Qudusiy",
"yusufiy",
"Ismaheeliy"
]
},
// you can uncomment the below codes and make duplicate as more as you want to add question
// but remember you need to give the numb value serialize like 1,2,3,5,6,7,8,9.....
// {
// numb: 6,
// question: "Your Question is Here",
// answer: "Correct answer of the question is here",
// options: [
// "Option 1",
// "option 2",
// "option 3",
// "option 4"
// ]
// },
];