master
annasandri 4 years ago
parent 572973ccf9
commit 789fb84875

@ -33,3 +33,4 @@ div.figure6 {
left:10%;
bottom: 15%;
}

@ -7,10 +7,13 @@
</head>
<body>
<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>
<div class="figure1">
<img id="forniture1" src="../gifs/forniture_1.gif" style="display: block;">
<img id="child1" src="../gifs/child_6.gif" style="display: none;">

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

Loading…
Cancel
Save