-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (36 loc) · 1.53 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
<html>
<head>
<title>Busca Cep</title>
<script src="js/jquery-3.2.1.min.js"></script> <!-- chama o arquivo jquery localmente -->
<link rel="stylesheet" href="css/style.css" /> <!-- arquivo que formata os campos -->
<script src="js/script.js"></script> <!-- arquivo que recebe os dados faz a busca e inseri nos campos-->
</head>
<body>
<h2>Busca cep e preenche campos</h2>
<div class="container">
<label for="txtCep">CEP</label>
<input type="text" class="form-control" id="txtCep" placeholder="">
<br>
<label for="txtLogradouro">Logradouro</label>
<input type="text" class="form-control" id="txtLogradouro">
<br>
<label for="txtRua">Rua</label>
<input type="text" class="form-control" id="txtRua">
<br>
<label for="txtBairro">Bairro</label>
<input type="text" class="form-control" id="txtBairro">
<br>
<label for="txtCidade">Cidade</label>
<input type="text" class="form-control" id="txtCidade">
<br>
<label for="txtEstado">Estado</label>
<input type="text" class="form-control" id="txtEstado">
<br>
<label for="txtEstado">ibge</label>
<input type="text" class="form-control" id="txtibge">
<br>
<label for="txtEstado">gia</label>
<input type="text" class="form-control" id="txtgia">
</div>
</body>
</html>