-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (50 loc) · 1.96 KB
/
index.html
File metadata and controls
58 lines (50 loc) · 1.96 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
57
58
<!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">
<link rel="shortcut icon" href="src/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/5fac7dabe4.js" crossorigin="anonymous"></script>
<title>List To-do</title>
</head>
<body>
<header>
<a href="/"><i class="fas fa-list"></i> To-do List</a>
<button onclick="
createTask()">Criar Tarefa</button>
</header>
<main>
<div class="cardContent">
<div class="cardForm">
<h1>Nova Tarefa</h1>
<form action="index.html" method="POST" id="formList">
<input type="text" id="tarefa" placeholder="Nome da tarefa"> <br>
<p class="alert"></p>
<div>
<button id="add"><i class="fas fa-plus-circle"></i> Adicionar</button>
<button id="hidden"><i class="fas fa-sign-out-alt"></i> Fechar</button>
</div>
</form>
</div>
<h1>Lista de tarefas</h1>
<div class="listTarefas">
</div>
<div class="alertDelete">
<p>Deseja realmente eliminar esta tarefa?</p>
<div>
<button id="confirm"><i class="fas fa-thumbs-up"></i> Sim</button>
<button id="close"><i class="fas fa-thumbs-down"></i> Não</button>
</div>
</div>
<!-- <div class="cardItem">
<input type="checkbox" id="itemTodo">
<label for="itemTodo">Item1</label>
<button onclick="deleteItem()"><i class="fas fa-trash-alt"></i></button>
</div> -->
</div>
</main>
<script src="script.js"></script>
</body>
</html>