-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtasklist.html
More file actions
56 lines (53 loc) · 1.57 KB
/
tasklist.html
File metadata and controls
56 lines (53 loc) · 1.57 KB
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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../assets/css/styles.tasklist.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<script src="../assets/js/script.tasklist.js"></script>
<title>Task List</title>
</head>
<body>
<div id="back-button">
<a href="../../index.html">
<button>Voltar para Home</button>
</a>
</div>
<main>
<p id="error" class="hidden">Favor adicionar um título para a tarefa</p>
<section id="form">
<input
type="text"
id="newTask"
placeholder="Adcione uma nova tarefa"
required
/>
<button onclick="createTask()">
<i class="fa-solid fa-plus"></i>
</button>
</section>
<section>
<ul id="list"></ul>
</section>
</main>
<div id="editModal">
<button>
<i class="fa fa-remove"></i>
</button>
<h2>#1513</h2>
<hr />
<div id="modalForm">
<input type="text" id="editTask" placeholder="Editar tarefa" required />
<button onclick="editTask()"><i class="fa-solid fa-check"></i></button>
</div>
</div>
<div id="modalBackground"></div>
</body>
</html>