-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.html
100 lines (91 loc) · 2.8 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
95
96
97
98
99
100
<!--
/* Preço de Veículo - https://precodeveiculo.netlify.app
* https://github.com/giovanigenerali/precodeveiculo
* Developed by Giovani Generali - https://github.com/giovanigenerali
*/
-->
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Giovani Generali" />
<meta
name="description"
content="Consultar preços médios de veículos diretamente na FIPE."
/>
<meta name="theme-color" content="#000000" />
<link rel="shortcut icon" href="./images/logo.png" type="image/png" />
<link rel="apple-touch-icon" href="./images/logo.png" />
<link rel="manifest" href="./manifest.json" />
<title>Preço de Veículo</title>
<link rel="stylesheet" href="./styles.css" />
<script
defer
src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.2/axios.min.js"
></script>
<script
defer
src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js"
></script>
<script defer src="./app.js"></script>
</head>
<body>
<h1>Preço de Veículo</h1>
<p>Consultar preços médios de veículos diretamente na FIPE.</p>
<hr />
<div class="container">
<div id="form">
<label>
<h4>Mês de referência</h4>
<select id="referencia" disabled>
<option value="">-</option>
</select>
</label>
<label>
<h4>Típo de veículo</h4>
<select id="tipo_veiculo" disabled>
<option value="">-</option>
<option value="1">🚗 Carro</option>
<option value="2">🏍️ Moto</option>
<option value="3">🚚 Caminhão</option>
</select>
</label>
<label>
<h4>Marca</h4>
<select id="marca" disabled>
<option value="">-</option>
</select>
</label>
<label>
<h4>Modelo</h4>
<select id="modelo" disabled>
<option value="">-</option>
</select>
</label>
<label>
<h4>Ano / Combustível</h4>
<select id="ano" disabled>
<option value="">-</option>
</select>
</label>
<p>
<button type="button" id="search" disabled>Consultar</button>
</p>
</div>
<div id="resultado"></div>
</div>
<div class="github">
<a href="https://github.com/giovanigenerali/precodeveiculo"
><small>Criado por Giovani Generali</small></a
>
</div>
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", () => {
navigator.serviceWorker.register("./sw.js");
});
}
</script>
</body>
</html>