-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathToDoList.html
47 lines (38 loc) · 1.63 KB
/
ToDoList.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
<!-- 9:30am -->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- <title>To Do List</title> -->
<title>To Do List</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="doc">
<!-- Various titles depending on the page view -->
<h1 id="td">To Do List - All Tasks</h1>
<h1 id="ct">To Do List - Completed Tasks</h1>
<h1 id="ict">To Do List - Incomplete Tasks</h1>
<h2 id="rio">REMOVING ITEM ON</h2>
<p id="stats"></p>
<!-- The form we use to input a new task, manage tasks, and manage page views -->
<form method="POST" id="addTaskForm" class="addTask">
<input type="text" id="taskTitle" placeholder="Task Title..." class="addTask" required>
<button type="button" id="addTaskButton">Add</button>
<button type="button" id="clear">Clear List</button>
<button type="button" id="removeItem">Remove Item</button>
<br>
<button type="button" id="showAllTasks">Manage All Tasks</button>
<button type="button" id="showRed">View Incomplete Tasks</button>
<button type="button" id="showGreen">View Completed Tasks</button>
</form>
<!-- A p tag that allows us some styling to make it look like lined paper -->
<p class="lines" id="lines"></p>
<!-- The Lists that we append to. 1 master list w the id of "list", and
2 separate lists for the incomplete (red) and complete (green) tasks -->
<ul id="list"></ul>
<ul id="red"></ul>
<ul id="green"></ul>
<script src="ToDoList.js"></script>
</div>
</body>
</html>