-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.html
76 lines (76 loc) · 2.6 KB
/
app.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
69
70
71
72
73
74
75
76
<!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="styles.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<title>CCEPB</title>
</head>
<body>
<div class="app">
<header>
<h1 title="CCEPB">Consulta de Códigos de Endereçamento Postal (CEP) do Brasil</h1>
</header>
<main style="max-width:500px; margin:auto">
<div class="label-input">
<i class="fas fa-map-marker-alt"></i>
<label for="cep"></label>
<input
type="text"
id="CEP"
placeholder="Digite o CEP do seu bairro"
autofocus
required
/>
<button id="btn-consultar" title="Consultar dados do CEP digitado">Consultar</button>
</div>
<div class="label-input">
<i class="fas fa-home"></i>
<label for="logradouro"></label>
<input type="text" id="logradouro" placeholder="Logradouro" />
</div>
<div class="label-input">
<i class="fas fa-home"></i>
<label for="bairro"></label>
<input type="text" id="bairro" placeholder="Bairro" />
</div>
<div class="label-input">
<i class="fas fa-city"></i>
<label for="cidade"></label>
<input type="text" id="cidade" placeholder="Cidade" />
</div>
<div class="label-input">
<i class="fas fa-map-marked-alt"></i>
<label for="uf"></label>
<input type="text" id="UF" placeholder="UF (Unidade Federativa)" />
</div>
<div class="label-input">
<i class="fas fa-qrcode"></i>
<label for="cod-municipio"></label>
<input
type="text"
id="cod-municipio"
placeholder="Código do município"
/>
</div>
<div class="label-input">
<i class="fas fa-mobile-alt"></i>
<label for="DDD"></label>
<input type="text" id="DDD" placeholder="DDD" />
</div>
</main>
</div>
</body>
<footer id="footer">
<p>By <a href="https://github.com/antunes18" target="__blank" title="#">antunes18</a></p>
</footer>
<script src="cep-api.js"></script>
</html>