-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (49 loc) · 1.75 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>To Do List</title>
<link rel="stylesheet" href="./style.css">
<script src="./script.js" defer></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<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=Kumbh+Sans:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="todo-container">
<header>
<h1>To Do List</h1>
</header>
<form id="todo-form">
<p>Adicione uma tarefa:</p>
<div class="form-control">
<input type="text" id="todo-input" placeholder="Sua Tarefa">
<button type="submit">
<i class="fa-solid fa-plus"></i>
</button>
</div>
</form>
<form id="edit-form" class="hide">
<p>Editar tarefa:</p>
<div class="form-control">
<input type="text" id="edit-input">
<button type="submit">
<i class="fa-solid fa-pen"></i>
</button>
</div>
<button id="cancel-edit-btn">Cancelar</button>
</form>
<div id="todo-list">
</div>
</div>
</body>
</html>