-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.html
29 lines (28 loc) · 884 Bytes
/
app.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mata Mosquito - Game</title>
<link rel="stylesheet" href="./style/App.css" />
</head>
<body onresize="ajustarTamanhoPalcoJogo()">
<div class="painel">
<div class="vidas">
<img id="c1" src="./img/coracao_cheio.png" />
<img id="c2" src="./img/coracao_cheio.png" />
<img id="c3" src="./img/coracao_cheio.png" />
</div>
<div class="cronometro">
Tempo restante: <span id="cronometro"></span>
</div>
</div>
<script src="./js/App.js"></script>
<script>
document.getElementById('cronometro').innerHTML = tempo
let criarMosquito = setInterval(() => {
posicaoAleatoria()
}, criaMosquitoTempo)
</script>
</body>
</html>