add newQuestion
This commit is contained in:
parent
4a9f1ad2ed
commit
f3ee589153
BIN
assets/img/male0.jpeg
Normal file
BIN
assets/img/male0.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
BIN
assets/img/male1.jpeg
Normal file
BIN
assets/img/male1.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
assets/img/male2.jpeg
Normal file
BIN
assets/img/male2.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
assets/img/male3.jpeg
Normal file
BIN
assets/img/male3.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
|
@ -31,6 +31,11 @@ body {
|
||||||
margin-top: 5vh;
|
margin-top: 5vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.answer-pic {
|
||||||
|
width: 100%;
|
||||||
|
border: 18px ridge yellow;
|
||||||
|
}
|
||||||
|
|
||||||
.floattop {
|
.floattop {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
21
data.json
21
data.json
|
@ -1,6 +1,27 @@
|
||||||
{
|
{
|
||||||
"initialScore": 10000,
|
"initialScore": 10000,
|
||||||
"questions": [
|
"questions": [
|
||||||
|
{
|
||||||
|
"title": "Select the sexiest male:",
|
||||||
|
"answers": [
|
||||||
|
{
|
||||||
|
"text": "<img class='answers-pic' src='assets/img/male0.jpeg'>",
|
||||||
|
"effect": 2000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "<img class='answers-pic' src='assets/img/male1.jpeg'>",
|
||||||
|
"effect": -9999
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "<img class='answers-pic' src='assets/img/male2.jpeg'>",
|
||||||
|
"effect": -9999
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "<img class='answers-pic' src='assets/img/male3.jpeg'>",
|
||||||
|
"effect": -9999
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Is Taiwan a country",
|
"title": "Is Taiwan a country",
|
||||||
"answers": [
|
"answers": [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user