master
annasandri 3 years ago
parent 572973ccf9
commit 789fb84875

@ -32,4 +32,5 @@ div.figure6 {
position:absolute; position:absolute;
left:10%; left:10%;
bottom: 15%; bottom: 15%;
} }

@ -7,13 +7,16 @@
</head> </head>
<body> <body>
<div class="score"> <div class="score">
score:<span id="result" >0</span>/6 Click on the objects<br>
You saved <span id="result" >0</span> kids out of 6.
<div id="win"></div> <div id="win"></div>
</div>
</div>
<div class="figure1"> <div class="figure1">
<img id="forniture1" src="../gifs/forniture_1.gif" style="display: block;"> <img id="forniture1" src="../gifs/forniture_1.gif" style="display: block;">
<img id="child1" src="../gifs/child_6.gif" style="display: none;"> <img id="child1" src="../gifs/child_6.gif" style="display: none;">
</div> </div>
<div class="figure2"> <div class="figure2">

@ -61,8 +61,8 @@ $(document).ready(function() {
function winning() { function winning() {
if (counter === 6) { if (counter === 6) {
$('#win').html("you won!"); $('#win').html("you are a savior <3 <3");
//alert ("you won"); window.open("https://www.bbc.com/news/world-53416247");
} }; } };

Loading…
Cancel
Save