-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (34 loc) · 1.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=], initial-scale=1.0">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
</head>
<body class="container" style="background-color: #DEDEDE;">
<h1 class="mt-3">IBGE</h1>
<hr>
<section class="card card-body">
<div id="carregando" style="visibility: hidden;" class="spinner-grow" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<form action="">
<label for="regiao">Região</label>
<select onchange="buscarEstados()" class="form-select mb-3" id="regiao">
<option value="" selected> -- Selecione -- </option>
</select>
<label for="estado">Estado</label>
<select onchange="buscarCidades()" class="form-select mb-3" id="estado">
<option value="" selected> -- Selecione -- </option>
</select>
<label for="cidade">Cidade</label>
<select class="form-select mb-3" id="cidade">
<option value="" selected> -- Selecione -- </option>
</select>
</form>
</section>
<script src="eventos.js"></script>
</body>
</html>