-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (43 loc) · 1.71 KB
/
index.html
File metadata and controls
52 lines (43 loc) · 1.71 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Krisztina's JS To-Do List</title>
<!-- Normalize.css -->
<link rel="stylesheet" href="css/normalize.css">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Roboto&family=Russo+One&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<script src="js/scripts.js" defer></script>
</head>
<body>
<header>
<h1>Krisztina's JS To-Do List</h1>
</header>
<main>
<form action="#" id="add-task-form">
<label for="taskName">New task:</label>
<input type="text" id="taskName" name="name">
<button id="add-task-button" type="submit" class="green button" onclick="focusUserInput()">Add Task</button>
<button id="reset-button" type="submit" class="green button">Reset App</button>
</form>
<div class="flex-container">
<section id="pending-task-section">
<h2>Pending Tasks</h2>
<ul id="pending-task-list-area"></ul>
</section>
<section id="active-task-section">
<h2>Active Tasks</h2>
<ul id="active-task-list-area"></ul>
</section>
<section id="completed-task-section">
<h2>Completed Tasks</h2>
<ul id="completed-task-list-area"></ul>
<button id="clear-completed-button" type="submit" class="green button">Clear Completed Tasks</button>
</section>
</div>
</main>
<footer>Copyright © 2020 by Krisztina Pap</footer>
</body>
</html>