-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (80 loc) · 2.39 KB
/
index.html
File metadata and controls
80 lines (80 loc) · 2.39 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<link rel="stylesheet" href="style.css" type="text/css" />
<script src="https://raw.githack.com/SortableJS/Sortable/master/Sortable.js"></script>
<title>Todo app | Frontend Mentor</title>
</head>
<body>
<header>
<!-- contains image and overlay -->
</header>
<main class="container">
<div class="inner-flex">
<a href="/" class="logo"><h1>TODO</h1></a>
<div>
<img
src="images/icon-moon.svg"
alt="moon icon for dark theme toggle"
id="theme-toggle"
onclick="darkTheme();"
/>
</div>
</div>
<form id="todo-form">
<div class="form-group">
<input type="radio" id="todo-radio" name="check-todo" />
<input
id="new-todo-text"
type="text"
name="createTodo"
class="create-todo-field"
placeholder="Create a new todo..."
value
autocomplete="off"
/>
</div>
</form>
<div class="todos-block">
<div class="todo-container">
<ul id="todoslist" class="todo-list"></ul>
</div>
<div class="todo-status-container">
<p><span id="active-todo-counter">0</span> items left</p>
<div class="todo-sort">
<button id="sort-all" value="all">All</button>
<button id="sort-active" value="active">Active</button>
<button id="sort-completed" value="completed">Completed</button>
</div>
<button
id="clear-completed-btn"
class="clear-completed-btn"
value="clear-completed-btn"
>
Clear Completed
</button>
</div>
</div>
<div class="drag-drop">
<p>Drag and drop to reorder list</p>
</div>
</main>
<footer>
<div class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by <a href="https://github.com/KomeCodes">Kome</a>.
</div>
</footer>
<script src="index.js"></script>
</body>
</html>