add newQuestion

This commit is contained in:
rogs 2021-11-21 02:11:48 -03:00
parent 4a9f1ad2ed
commit f3ee589153
6 changed files with 26 additions and 0 deletions

BIN
assets/img/male0.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
assets/img/male1.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
assets/img/male2.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
assets/img/male3.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -31,6 +31,11 @@ body {
margin-top: 5vh;
}
.answer-pic {
width: 100%;
border: 18px ridge yellow;
}
.floattop {
text-align: center;
position: absolute;

View File

@ -1,6 +1,27 @@
{
"initialScore": 10000,
"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",
"answers": [