-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (38 loc) · 1.43 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lista de Compras</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat&family=Numans&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<main>
<img src="./img/bag.png" alt="sacola de compras">
<form>
<input class="input-item" id="input-item" type="text"
placeholder="Digite o item que deseja adicionar"></input>
<button class="button-item" id="adicionar-item">Salvar item</button>
</form>
<div class="container-lista">
<h2>Lista de compras</h2>
<hr>
<ul id="lista-de-compras">
<p id="mensagem-lista-vazia" style="display: block">Sua lista está vazia. Adicione itens a ela para não
esquecer nada na próxima compra!</p>
</ul>
<div id="container-lista-comprados">
<h2>Comprado</h2>
<hr />
<ul id="lista-comprados">
</ul>
</div>
</div>
</main>
<script src="scripts.js" type="module"></script>
</body>
</html>