-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (65 loc) · 2.94 KB
/
index.html
File metadata and controls
73 lines (65 loc) · 2.94 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Javascript: Manipulando DOM</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
</head>
<body>
<div class="container my-5">
<div class="row mb-3">
<div class="col">
<article>
<h1 class="text-center">Qual minha geração?</h1>
</article>
</div>
</div>
<div class="row">
<div class="col-12 col-md-6">
<div class="form-group my-2">
<label class="mb-2" for="nome">Seu nome</label>
<input type="text" id="nome" class="form-control form-control-lg"
placeholder="Digite seu nome completo">
</div>
</div>
<div class="col-12 col-md-6 my-2">
<div class="form-group">
<label class="mb-2" for="idade">Quantos anos você tem?</label>
<input type="number" id="idade" class="form-control form-control-lg" placeholder="ex.: 18">
</div>
</div>
<div class="col-12 mt-4 d-grid">
<button id="botaoCalcular" type="button" class="btn btn-primary btn-lg" data-bs-toggle="modal"
data-bs-target="#modal">Calcular</button>
</div>
</div>
<div class="row">
<div class="col">
<div class="modal fade" id="modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 id="h5NomeUsuario" class="modal-title"></h5>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
<p id="informaGeracao">Você nasceu em {nataNascimento} e pertence a geração {geração}.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<ul class="list-group" id="respostaAPIEpisodes"></ul>
<ul class="pagination" id="respostaAPIEpisodesPagination"></ul>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous">
</script>
<script type="text/Javascript" src="js/scripts.js"></script>
</body>
</html>