-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
96 lines (93 loc) · 3.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="./images/favicon.ico" />
<title>Todo app</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./src/css/main.css" />
</head>
<body>
<main class="App">
<article class="App__wrapper">
<header class="Header">
<h1 class="Logo">TODO</h1>
<button class="DarkThemeToggle">
<img
src="images/icon-moon.svg"
alt="Activate dark theme"
class="DarkThemeToggle__activate"
/>
<img
src="images/icon-sun.svg"
alt="Deactivate dark theme"
class="DarkThemeToggle__deactivate"
/>
</button>
</header>
<form class="TaskSearchBar" aria-label="Add new task">
<div class="TaskSearchBar__searchContent">
<button
type="submit"
class="TaskSearchBar__button"
aria-label="Add task"
></button>
<input
type="text"
class="TaskSearchBar__input"
placeholder="Create a new todo..."
aria-label="New task input"
/>
</div>
</form>
<div class="task-list" role="main">
<ul class="task-list__items" aria-label="Todo list"></ul>
<div class="task-list__item task-list__info">
<span class="task-list__info-items-left" aria-live="polite"
>0 items left</span
>
<div
class="task-list__info-filters"
role="group"
aria-label="Filter tasks"
>
<button class="task-list__filter-btn active" data-filter="all">
All
</button>
<button class="task-list__filter-btn" data-filter="active">
Active
</button>
<button class="task-list__filter-btn" data-filter="completed">
Completed
</button>
</div>
<button class="task-list__clear-btn">Clear Completed</button>
</div>
<div
class="task-list__info-filters--mobile"
role="group"
aria-label="Filter tasks"
>
<button class="task-list__filter-btn active" data-filter="all">
All
</button>
<button class="task-list__filter-btn" data-filter="active">
Active
</button>
<button class="task-list__filter-btn" data-filter="completed">
Completed
</button>
</div>
</div>
<p class="note">Drag and drop to reorder list</p>
</article>
</main>
<script src="./src/index.js" type="module"></script>
</body>
</html>