-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (45 loc) · 1.71 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
50
51
52
53
54
55
56
57
58
<!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">
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400&display=swap" rel="stylesheet">
<title>Descubra qual é a sua geração</title>
</head>
<body>
<header>
<div id="container">
<h1>X, Y, Z... Afinal, a que geração você pertence?</h1>
<nav>
<a href="index.html">Home</a>
<a href="saibamais.html" id="saiba">Saiba mais</a>
</nav>
</div>
</header>
<div id="main">
<section>
<div>
<p>
<label for="txtano">Digite o seu ano de nascimento para saber:</label>
<input type="text" id="txtano">
</p>
<p>
<input type="button" value="Mostrar" id="button" onclick="mostrar()">
</p>
</div>
<div id="res"></div>
</section>
</div>
<footer>Exercício de JavaScript por Romulo Craveiro |
<a href="https://github.com/romulocraveiro/geracoes" target="_blank" alt = "Link para o projeto no Github"> GitHub:
<i class="fab fa-github-square" alt="Ícone do Github"></i>
</a>
</footer>
<script src="script.js"></script>
<script src="https://kit.fontawesome.com/d6e302a14f.js" crossorigin="anonymous"></script>
</body>
</html>