-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
68 lines (63 loc) · 2.34 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
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<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 href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style/style.css">
<title>Busca CEP</title>
</head>
<body>
<div class="painel formulario" data-form="form">
<form action="" id="buscaCep">
<label for="cep">Digite um CEP</label>
<br>
<input type="text" name="cep" id="cep" class="borderRed">
<input type="button" value="Buscar" id="btnCep" data-modal="abrir">
</form>
</div>
<div class="resultadosDados" data-form="form">
<div class="resultadoCep box-info">
<h1>Rua</h1>
<div id="nomeRua" class="info"></div>
</div>
<div class="resultadoCep box-info">
<h1>Bairro</h1>
<div id="nomeBairro" class="info"></div>
</div>
<div class="resultadoCep box-info">
<h1>Complemento</h1>
<div id="complemento" class="info"></div>
</div>
<div class="resultadoCep box-info">
<h1>Gia</h1>
<div id="gia" class="info"></div>
</div>
<div class="resultadoCep box-info">
<h1>IGBE</h1>
<div id="ibge" class="info"></div>
</div>
<div class="resultadoCep box-info">
<h1>Localidade</h1>
<div id="localidade" class="info"></div>
</div>
<div class="resultadoCep box-info">
<h1>UF</h1>
<div id="uf" class="info"></div>
</div>
</div>
<div class="box_img">
<img src="images/searchlocalitation.svg" alt="Procurando localizacao" class="img1">
<img src="images/uplocalitation.svg" alt="Encontrou a localizacao" class="img2">
<img src="images/googlemapserro.svg" alt="Errou o cep" class="img3">
</div>
<section class="modal-container" data-modal="container">
<div class="modal">
<button data-modal="fechar" class="fechar">x</button>
<h1>DIGITE UM CEP</h1>
</div>
</section>
<script src="js/script.js"></script>
</body>
</html>