-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (45 loc) · 1.66 KB
/
Copy pathindex.html
File metadata and controls
58 lines (45 loc) · 1.66 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="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css"></link>
<title>Task List</title>
</head>
<body>
<div class="focusDiv" style="display:none;"></div>
<div class="header">
<h1>Task List</h1>
<button id="addTaskBtn">Add Task +</button>
</div>
<form class='addTaskForm' style="display: none">
<label>Enter Task</label>
<input type="text" name="title" placeholder="Task...">
<label>Task Description</label>
<input type="text" name='description' placeholder="Description...">
<input type="submit" value="Create">
</form>
<div class="menu">
<input type="button" value="Hide all complete tasks">
<input type="button" value="Delete all complete tasks">
<input type="button" value="Show all tasks">
</div>
<div class="hoverButton" onclick="showMenu(event)">menu</div>
<div class="hideMenu" style="display:none;" onclick="hideMenu(event)">hide</div>
<h2>Tasks</h2>
<div class="sortByName" style="display:none;">Sort by task title</div>
<div class="sortByDate" style="display:none;">Sort by task Date</div>
<div id="tasks" >
</div>
<div class="taskBoilerplate" style="display:none;">
<h4>Task</h4>
<p>description</p>
<div>
<input type="checkbox" name="complete" onclick="toggleComplete(event)">
<label for="complete">complete</label>
</div>
<p class="taskId" hidden></p>
<input type="button" value="X" onclick="deleteTask(event)">
</div>
<script src="index.js"></script>
</body>
</html>