-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
73 lines (73 loc) · 1.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/images/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/images/favicon-16x16.png"
/>
<link rel="manifest" href="manifest.json" />
<title>HTML5 Service Worker</title>
<!-- Fluid viewport -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.fluid.classless.min.css"
/>
<script type="module" src="./app.js"></script>
</head>
<body>
<main>
<form onsubmit="return false;">
<fieldset role="group">
<input
type="text"
name="cep"
placeholder="Enter your CEP"
required
pattern="\d{5}-?\d{3}"
autocomplete="off"
/>
<button type="submit">Get</button>
</fieldset>
</form>
<p>
*
<a href="#" onclick="return false;">Install data locally</a>
so you can search CEP offline.
</p>
<table>
<tbody>
<tr>
<th>Zip Code</th>
<td id="zipCode"></td>
</tr>
<tr>
<th>State</th>
<td id="state"></td>
</tr>
<tr>
<th>Location</th>
<td id="location"></td>
</tr>
<tr>
<th>Place</th>
<td id="publicPlace"></td>
</tr>
<tr>
<th>Neighborhood</th>
<td id="neighborhood"></td>
</tr>
</tbody>
</table>
</main>
</body>
</html>