diff --git a/assets/img/male0.jpeg b/assets/img/p0.jpeg similarity index 100% rename from assets/img/male0.jpeg rename to assets/img/p0.jpeg diff --git a/assets/img/male1.jpeg b/assets/img/p1.jpeg similarity index 100% rename from assets/img/male1.jpeg rename to assets/img/p1.jpeg diff --git a/assets/img/p2.jpeg b/assets/img/p2.jpeg new file mode 100644 index 0000000..561ac5e Binary files /dev/null and b/assets/img/p2.jpeg differ diff --git a/assets/img/male2.jpeg b/assets/img/p3.jpeg similarity index 100% rename from assets/img/male2.jpeg rename to assets/img/p3.jpeg diff --git a/assets/img/male3.jpeg b/assets/img/p4.jpeg similarity index 100% rename from assets/img/male3.jpeg rename to assets/img/p4.jpeg diff --git a/assets/img/p5.jpeg b/assets/img/p5.jpeg new file mode 100644 index 0000000..a846a13 Binary files /dev/null and b/assets/img/p5.jpeg differ diff --git a/css/style.css b/css/style.css index 8a5fa5d..e7fd5cc 100644 --- a/css/style.css +++ b/css/style.css @@ -31,7 +31,7 @@ body { margin-top: 5vh; } -.answer-pic { +.answers-pic { width: 100%; border: 18px ridge yellow; } diff --git a/data.json b/data.json index 7761821..b08c4e2 100644 --- a/data.json +++ b/data.json @@ -2,22 +2,22 @@ "initialScore": 10000, "questions": [ { - "title": "Select the sexiest male:", + "title": "Who's the best (and sexiest) president ever:", "answers": [ { - "text": "", + "text": "", "effect": 2000 }, { - "text": "", + "text": "", "effect": -9999 }, { - "text": "", + "text": "", "effect": -9999 }, { - "text": "", + "text": "", "effect": -9999 } ] diff --git a/js/main.js b/js/main.js index c6490c3..7fce265 100644 --- a/js/main.js +++ b/js/main.js @@ -33,6 +33,35 @@ $("#playBegin").click(function () { }); var data = {}, cQuestion = {}, indexeslist = [], indexesProgress = 0, total = 100; $.getJSON("data.json", function (d) { +/* + d = + { + "initialScore": 10000, + "questions": [ + { + "title": "Who's the best (and sexiest) president:", + "answers": [ + { + "text": "", + "effect": 2000 + }, + { + "text": "", + "effect": -9999 + }, + { + "text": "", + "effect": -9999 + }, + { + "text": "", + "effect": -9999 + } + ] + } + ] + }; +*/ data = d; total = d["initialScore"]; $("#counter").html("Social credit score: " + total);