generated from Lorenalgm/contador
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
49 lines (48 loc) · 1.33 KB
/
index.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!-- Contador
Informe uma data
DD/MM/AAAA
Iniciar contagem -->
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contador</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<section class="home">
<h1>Contador</h1>
<label for="date">Informe uma data</label>
<input type="date" id="date">
<button onclick="start()">Iniciar Contagem</button>
</section>
<section class="contador" style="display: none">
<div class="header">
<h1>Contador</h1>
<button onclick="back()">Reiniciar</button>
</div>
<span>Faltam</span>
<div class="wrapper">
<div>
<span id="days">2</span>
<span>Dias</span>
</div>
<div>
<span id="hours">10</span>
<span>Horas</span>
</div>
<div>
<span id="minutes">40</span>
<span>Minutos</span>
</div>
<div>
<span id="seconds">13</span>
<span>Segundos</span>
</div>
</div>
</section>
<script src="js/main.js"></script>
</body>
</html>