-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (53 loc) · 2.5 KB
/
Copy pathindex.html
File metadata and controls
59 lines (53 loc) · 2.5 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
59
<!DOCTYPE html>
<!--
Welcome to jsTasks, a simple task app created as part of the TECHCareers program.
Layout and design has been inspired by services such as Trello, GMail, Microsoft To Do (Wunderlist), etc.
-->
<html lang="en-CA">
<!-- Use of different elements based on understanding gained from https://www.w3schools.com/html/html_form_elements.asp -->
<head>
<meta charset="utf-8" />
<meta description="A basic to-do web app written entirely in JS" />
<meta author="Damir Lampa" />
<!-- https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/reset.css" /> <!-- Credits in file -->
<link rel="stylesheet" href="css/layout.css" />
<link rel="stylesheet" href="css/fonts.css" />
<link rel="stylesheet" href="css/colours.css" />
<script src="https://kit.fontawesome.com/308aa213dc.js" crossorigin="anonymous"></script> <!-- Font Awesome Icons -->
<script src="js/todo.js" defer></script>
<title>jsTasks</title>
</head>
<body>
<header>
<p>jsTasks</p>
</header>
<main>
<!-- Data entry/task creation -->
<section id="dataEntry">
<form post="method">
<input type="text" id="taskText" class="textEntry" name="taskText" title="Task description" placeholder="Add a task" />
<input type="number" id="taskEstDur" class="textEntry" name="taskEstDur" min="0" max="10" step="0.25" placeholder="" title="Estimated task duration (in hours, optional)" />
<button id="btnAddTask" name="btnAddTask" title="Add the task to the Pending Tasks list." class="fas fa-plus"></button>
<label id="warningText" class="warningElement"></label>
</form>
</section>
<!-- Pending tasks -->
<section id="secPending" class="hidden">
<h1>Pending tasks</h1>
<ul></ul>
</section>
<!-- Active tasks -->
<section id="secActive" class="hidden">
<h1>Active tasks</h1>
<ul></ul>
</section>
<!-- Completed tasks -->
<section id="secCompleted" class="hidden">
<h1>Completed tasks</h1>
<ul></ul>
</section>
</main>
</body>
</html>