-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
141 lines (124 loc) · 4 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html lang="en-uk">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="light" />
<title>ToDoodle</title>
<meta
name="description"
content="A small task manager with due dates, importance and list filtering."
/>
<link href="css/normalize.css" rel="stylesheet" />
<link href="css/fonts.css" rel="stylesheet" />
<link href="css/colours.css" rel="stylesheet" />
<link href="css/style.css" rel="stylesheet" />
<script src="js/test-helpers.js" defer></script>
<script src="js/script.js" defer></script>
<script type="module" src="js/test.js" defer></script>
</head>
<body>
<header class="center wrapParent">
<h1>ToDoodle</h1>
<pre>Say Toodle-Do to Your To-Dos</pre>
</header>
<main>
<div class="pageParent">
<!-- Input -->
<section>
<div class="center">
<h2>Create Task</h2>
</div>
<form id="taskCreator" class="center">
<div id="taskBasics" class="formParent">
<div id="taskFormName">
<label for="taskName"><h3>Task</h3></label>
<input type="text" id="taskName" name="taskName" required />
</div>
<div id="taskFormDue">
<label for="taskDateDue"><h3>Due Date</h3></label>
<input type="date" id="taskDateDue" name="taskDateDue" />
</div>
</div>
<div id="taskFormImportance">
<h3>Importance</h3>
<div id="taskImportance" class="formParent">
<div>
<!-- 1 -->
<input
type="radio"
id="lowest"
name="taskImportance"
value="lowest"
/>
<label for="lowest">Lowest</label>
</div>
<div>
<!-- 2 -->
<input
type="radio"
id="low"
name="taskImportance"
value="low"
/>
<label for="low">Low</label>
</div>
<div>
<!-- 3 -->
<input
type="radio"
id="normal"
name="taskImportance"
value="normal"
/>
<label for="normal">Normal</label>
</div>
<div>
<!-- 4 -->
<input
type="radio"
id="high"
name="taskImportance"
value="high"
/>
<label for="high">High</label>
</div>
<div>
<!-- 5 -->
<input
type="radio"
id="vital"
name="taskImportance"
value="vital"
/>
<label for="vital">Vital</label>
</div>
</div>
</div>
<div>
<button id="taskSubmit" type="submit">Create Task</button>
</div>
</form>
</section>
<!-- Output -->
<section id="taskList">
<div id="taskListMenu" class="center">
<h2 class>Task List</h2>
<button id="completeButton" class="complete-button center">
Hide Completed
</button>
</div>
<div id="taskListDisplay">
<ul id="to-do-list" class="to-do-list"></ul>
</div>
</section>
</div>
</main>
<footer class="center">
<div id="taskListDebug" class="center">
<button id="logTasks">Log Tasks</button>
<button id="clearTasks">Clear Tasks</button>
</div>
</footer>
</body>
</html>