-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (57 loc) · 1.89 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cube Car</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="flex-container">
<header>
<h1 data-js="nome"></h1>
<h2 data-js="telefone"></h2>
</header>
<main class="flex-container">
<form action="/" data-js="cadastro">
<p>
<label for="imagem">Imagem do carro</label>
<input type="text" data-js="imagem" id="imagem">
</p>
<p>
<label for="marca-modelo">Marca/Modelo</label>
<input type="text" data-js="marca-modelo" id="marca-modelo">
</p>
<p>
<label for="ano">Ano</label>
<input type="number" data-js="ano" id="ano" step="1">
</p>
<p>
<label for="placa">Placa</label>
<input type="text" data-js="placa" id="placa">
</p>
<p>
<label for="cor">Cor</label>
<input type="text" data-js="cor" id="cor">
</p>
<button type="submit">Cadastrar</button>
</form>
<table>
<thead>
<tr>
<th>Imagem</th>
<th>Marca/Modelo</th>
<th>Ano</th>
<th>Placa</th>
<th>Cor</th>
<th></th>
</tr>
</thead>
<tbody data-js="dados"></tbody>
</table>
</main>
</div>
<script src="DOM.js"></script>
<script src="final-challenge.js"></script>
</body>
</html>