-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (39 loc) · 1.15 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
<!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>Modelo de exercício</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Verificador de idade</h1>
</header>
<section>
<div>
<p>Ano de nascimento
<input type="number" name="txtano" id="txtano" min="0">
</p>
<p>Sexo:
<input type="radio" name="radsex" id="mas" checked>
<label for="mas">Masculino</label>
<input type="radio" name="radsex" id="fem">
<label for="fem">Feminino</label>
</p>
<p>
<input type="button" value="Verificar" onclick="verificar()">
</p>
</div>
<div id = 'res'>
Preencha os dados acimas para ver o resultado!
</div>
</section>
<footer>
<a href="https://github.com/douglasoliveira96" target="_blank"><p>© Douglas de Oliveira</p>
</a>
</footer>
<script src="script.js"></script>
</body>
</html>