forked from bstizzle/react-hooks-fetch-crud-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
db.json
59 lines (59 loc) · 1.28 KB
/
db.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
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
{
"questions": [
{
"id": 2,
"prompt": "A React component is a function that returns ______.",
"answers": [
"HTML",
"JSX",
"props",
"state"
],
"correctIndex": 1
},
{
"id": 3,
"prompt": "Which event handler will run when a user is finished filling out a form?",
"answers": [
"onSubmit",
"onClick",
"onChange",
"onForm"
],
"correctIndex": 0
},
{
"id": 4,
"prompt": "______ is a tool that transpiles JSX into valid JavaScript.",
"answers": [
"React",
"Babel",
"Webpack",
"ES6"
],
"correctIndex": 1
},
{
"id": 5,
"prompt": "What syntax makes it possible to unpack values from arrays, or properties from objects, into distinct variables?",
"answers": [
"spread",
"key-value",
"coalescing",
"destructuring"
],
"correctIndex": 3
},
{
"id": 6,
"prompt": "Returning different elements from a component depending on the state of your application is known as _____ rendering.",
"answers": [
"voodoo",
"conditional",
"reactive",
"controlled"
],
"correctIndex": 1
}
]
}