-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquestions.json
26 lines (26 loc) · 868 Bytes
/
questions.json
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
[
{
"question": "Inside which HTML element do we put the JavaScript??",
"choice1": "<script>",
"choice2": "<javascript>",
"choice3": "<js>",
"choice4": "<scripting>",
"answer": 1
},
{
"question": "What is the correct syntax for referring to an external script called 'xxx.js'?",
"choice1": "<script href='xxx.js'>",
"choice2": "<script name='xxx.js'>",
"choice3": "<script src='xxx.js'>",
"choice4": "<script file='xxx.js'>",
"answer": 3
},
{
"question": " How do you write 'Hello World' in an alert box?",
"choice1": "msgBox('Hello World');",
"choice2": "alertBox('Hello World');",
"choice3": "msg('Hello World');",
"choice4": "alert('Hello World');",
"answer": 4
}
]