commit
9528a2f230
BIN
assets/img/p0.jpeg
Normal file
BIN
assets/img/p0.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
BIN
assets/img/p1.jpeg
Normal file
BIN
assets/img/p1.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
assets/img/p2.jpeg
Normal file
BIN
assets/img/p2.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
BIN
assets/img/p3.jpeg
Normal file
BIN
assets/img/p3.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
assets/img/p4.jpeg
Normal file
BIN
assets/img/p4.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
BIN
assets/img/p5.jpeg
Normal file
BIN
assets/img/p5.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
|
@ -31,6 +31,11 @@ body {
|
||||||
margin-top: 5vh;
|
margin-top: 5vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.answers-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": "Who's the best (and sexiest) president ever:",
|
||||||
|
"answers": [
|
||||||
|
{
|
||||||
|
"text": "<img class='answers-pic' src='assets/img/p0.jpeg'>",
|
||||||
|
"effect": 2000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "<img class='answers-pic' src='assets/img/p2.jpeg'>",
|
||||||
|
"effect": -9999
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "<img class='answers-pic' src='assets/img/p3.jpeg'>",
|
||||||
|
"effect": -9999
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "<img class='answers-pic' src='assets/img/p5.jpeg'>",
|
||||||
|
"effect": -9999
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Is Taiwan a country",
|
"title": "Is Taiwan a country",
|
||||||
"answers": [
|
"answers": [
|
||||||
|
|
|
@ -165,4 +165,4 @@ $(".ans").click(function () {
|
||||||
|
|
||||||
$('.fadeOutVideo').on('ended', function () {
|
$('.fadeOutVideo').on('ended', function () {
|
||||||
$(this).parent().fadeOut();
|
$(this).parent().fadeOut();
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user