-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
94 lines (80 loc) · 2.29 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Fontawesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css" integrity="sha384-SZXxX4whJ79/gErwcOYf+zWLeJdY/qpuqC4cAa9rOGUstPomtqpuNWT9wdPEn2fk" crossorigin="anonymous">
<!-- Google fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
<link rel="icon" href="https://img-premium.flaticon.com/png/512/751/751463.png?token=exp=1621359612~hmac=a6b2b6ad5871efba43873685cea27a5b">
<link rel="stylesheet" href="src/styles/styles.css">
<title>Address Search</title>
</head>
<body>
<main>
<section>
<h1>
Address Search
<i class="fas fa-search"></i>
<p>
Como <a target="blank_" href="https://github.com/GilbertoASJ/Address-search">usar</a> ||
Developed by
<a target="blank_" href="https://linktr.ee/GilbertoASJ">
Gilberto Alves
</a>
</p>
</h1>
</section>
<section id="form">
<div id="first-form-section">
<div>
<input id="cep" type="number" class="form-control mb-5" placeholder="CEP"/>
</div>
<div>
<button
onclick="getAddress(document.getElementById('cep').value)"
>
<i class="fas fa-search"></i>
</button>
</div>
</div>
<div id="second-form-section">
<div class="first-column">
<div>
<input
id="endereco"
type="text"
class="form-control"
placeholder="Endereço"
readonly
/>
</div>
<div>
<input
id="bairro"
type="text"
class="form-control"
placeholder="Bairro"
readonly
/>
</div>
</div>
<div class="second-column">
<div>
<input id="cidade" type="text" class="form-control" placeholder="Cidade" readonly />
</div>
<div>
<input id="uf" type="text" class="form-control" placeholder="UF" readonly />
</div>
<div>
<input id="ddd" type="text" class="form-control" placeholder="DDD" readonly />
</div>
</div>
</div>
</div>
</main>
<script src="src/scripts/scripts.js"></script>
</body>
</html>