-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (86 loc) · 4.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" sizes="32x32" href="/src/images/favicon-32x32.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Frontend Mentor challenge">
<title>Frontend Mentor | Todo app</title>
<!-- Preconnects -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- Preloads -->
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&display=swap" as="style">
<link rel="preload" href="/src/scss/main.scss" as="style">
<!-- Google fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&display=swap">
<!-- Styles -->
<link rel="stylesheet" href="/src/scss/main.scss">
</head>
<body class="body">
<!-- === Main === -->
<main>
<!-- Todo app container -->
<section class="todo-app">
<!-- Decoration background -->
<div class="todo-app__header-background"></div>
<!-- Main todo app content -->
<div class="todo-app__content">
<!-- App header -->
<div class="todo-app__header">
<h1 class="todo-app__title">TODO</h1>
<button class="todo-app__theme-changer">
<img class="todo-app__theme-icon" src="/src/svg/icon-moon.svg" alt="Moon icon image" title="Moon">
<img class="todo-app__theme-icon" src="/src/svg/icon-sun.svg" alt="Sun icon image" title="Sun">
</button>
</div>
<!-- New todo -->
<div class="todo-app__add-todo">
<!-- Gradient checkbox component -->
<div class="iscomplete">
<label class="iscomplete__label">
<input id="new-todo-is-complete" class="iscomplete__checkbox" type="checkbox">
<span class="iscomplete__custom-checkbox">
<img class="iscomplete__custom-checkbox-icon" src="/src/svg/icon-check.svg" alt="Check icon image" title="Check">
</span>
</label>
</div>
<label class="todo-app__new-todo-name">
<input class="todo-app__new-todo-input" type="text" placeholder="Create a new todo...">
</label>
</div>
<!-- Wrapper for todos container and under todos -->
<div class="todo-app__wrapper">
<!-- Todos container -->
<div class="todo-app__todos-container"></div>
<!-- Under todos -->
<div class="todo-app__under-todos">
<h3 class="todo-app__items-left-text">0 items left</h3>
<button class="todo-app__clear-completed-button">Clear Completed</button>
</div>
</div>
<!-- Filtering tools -->
<div class="todo-app__filtering-tools">
<label class="todo-app__tool"> <!-- All -->
<input class="todo-app__tool-input" type="radio" name="filtering-tools" value="all" checked>
<span class="todo-app__tool-text">All</span>
</label>
<label class="todo-app__tool"> <!-- Active -->
<input class="todo-app__tool-input" type="radio" name="filtering-tools" value="active">
<span class="todo-app__tool-text">Active</span>
</label>
<label class="todo-app__tool"> <!-- Completed -->
<input class="todo-app__tool-input" type="radio" name="filtering-tools" value="completed">
<span class="todo-app__tool-text">Completed</span>
</label>
</div>
<!-- Drag and drop message -->
<div class="todo-app__message">Drag and drop to reorder list</div>
</div>
</section>
</main>
<!-- === END Main === -->
<!-- Scripts -->
<script type="module" src="/src/ts/index.ts"></script>
</body>
</html>