-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
203 lines (195 loc) · 7.46 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Todo List App</title>
<!-- fontawesome kit -->
<script
src="https://kit.fontawesome.com/4d63ed8f35.js"
crossorigin="anonymous"
></script>
<!-- font -->
<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=Poppins:wght@300;400;500;600;700;800;900&display=swap"
rel="stylesheet"
/>
<!-- styles -->
<link rel="icon" type="image/png" href="./assets/images/Logo-favi.png" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Dosis&family=Open+Sans&family=Parisienne&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/dark-mode.css" />
</head>
<body>
<main>
<header class="header">
<div class="nav__menu">
<h1>Select Theme</h1>
<hr />
<div class="theme__btn-container">
<span
class="theme-btn"
data-color="113, 20, 167"
style="background-color: rgb(113, 20, 167)"
></span>
<span
class="theme-btn"
data-color="55, 55, 205"
style="background-color: rgb(55, 55, 205)"
></span>
<span
class="theme-btn"
data-color="250, 67, 53"
style="background-color: rgb(250, 67, 53)"
></span>
<span
class="theme-btn"
data-color="254, 155, 10"
style="background-color: rgb(254, 155, 10)"
></span>
<span
class="theme-btn"
data-color="24, 185, 46"
style="background-color: rgb(24, 185, 46)"
></span>
<span
class="theme-btn"
data-color="5, 109, 52"
style="background-color: rgb(5, 109, 52)"
></span>
<span
class="theme-btn"
data-color="0, 204, 204"
style="background-color: rgb(0, 204, 204)"
></span>
<span
class="theme-btn"
data-color="203, 39, 224"
style="background-color: rgb(203, 39, 224)"
></span>
<span
class="theme-btn"
data-color="12, 162, 221"
style="background-color: rgb(12, 162, 221)"
></span>
</div>
</div>
<div class="title">
<div class="mode-container">
<i class="fa-solid fa-moon"></i>
<i class="fa-solid fa-sun"></i>
</div>
<img src="./assets/images/logo-todo-list.png" />
<!---- Burguer Menu ---->
<div class="nav__burguer">
<span class="nav__burguer-line-1"></span>
<span class="nav__burguer-line-2"></span>
<span class="nav__burguer-line-3"></span>
</div>
</div>
</header>
<section class="main__container">
<div class="container__task-counter">
<div class="task__list-content">
<div class="task__left">
<h1 class="task-number" data-task-number>0</h1>
<span class="task-number__text">Total Tasks</span>
</div>
<div class="task__completed">
<h1 class="task-number__text--completed" data-task-completed>
0
</h1>
<span class="task-number__text">Task completed</span>
</div>
</div>
</div>
<div class="mainCard">
<div class="main__card-add-task">
<form action="">
<input
type="text"
name="task"
placeholder="Add a new task"
class="inputForm"
autocomplete="off"
data-form-input
/>
<button type="submit" class="btnCreate" data-form-btn>
<i class="fa-solid fa-check"></i>
</button>
</form>
</div>
<div class="task__list" data-task-list></div>
<ul class="cardsList" data-list></ul>
</div>
<div class="mainCard__bottom-container">
<div class="bottom__container-content">
<div class="filter__container">
<ul class="filter__list">
<li class="filter__item" data-filter-all>All</li>
<li class="filter__item" data-filter-active>Active</li>
<li class="filter__item" data-filter-completed>Completed</li>
<svg
class="btn__detelete-selected"
data-delete-all
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
version="1.1"
style="
shape-rendering: geometricPrecision;
text-rendering: geometricPrecision;
image-rendering: optimizeQuality;
fill-rule: evenodd;
clip-rule: evenodd;
"
viewBox="0 0 0.34 0.39"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xodm="http://www.corel.com/coreldraw/odm/2003"
>
<g id="Capa_x0020_1">
<metadata id="CorelCorpID_0Corel-Layer" />
<g id="_2077465201184">
<path
fill="currentcolor"
d="M0.32 0.1l-0.29 -0c-0,0.02 0,0.08 0.01,0.1 0,0.03 0,0.07 0.01,0.1 0,0.03 -0,0.07 0.03,0.08 0.01,0 0.2,0 0.21,0 0.03,-0.01 0.02,-0.05 0.03,-0.08 0,-0.03 0.01,-0.19 0.01,-0.2zm-0.17 0.14c-0.02,-0.01 -0.03,-0.04 -0.05,-0.04 -0.01,0 -0.02,0.01 -0.02,0.03 0,0.01 0.04,0.04 0.04,0.05 0.03,0.03 0.03,0.02 0.08,-0.03 0.02,-0.02 0.03,-0.03 0.05,-0.05 0.01,-0.01 0.02,-0.02 0.02,-0.02 0,-0.02 -0.02,-0.04 -0.04,-0.02 -0,0 -0.01,0.01 -0.01,0.01 -0.01,0.01 -0.01,0.02 -0.02,0.02 -0.01,0.01 -0.04,0.04 -0.05,0.05z"
/>
<path
fill="currentcolor"
d="M0.1 0.02c-0.02,0 -0.06,-0 -0.08,0 -0.02,0.01 -0.02,0.04 -0,0.05 0.01,0 0.3,0 0.31,0 0.02,-0.01 0.02,-0.04 -0,-0.05 -0.02,-0 -0.06,-0 -0.08,-0 -0.02,-0.03 -0.02,-0.02 -0.07,-0.02 -0.04,0 -0.06,-0.01 -0.07,0.02z"
/>
</g>
</g>
</svg>
</ul>
</div>
</div>
<div class="footer__content-copyright">
<p>
Copyright © 2022 | Coded with
<i class="fa fa-heart" aria-hidden="true"></i>
by
<a
class="footer-link"
href="https://heric-olier-frontend-developer.netlify.app/"
target="_blank"
>
Heric Olier
</a>
</p>
</div>
</div>
</section>
</main>
<script type="module" src="js/script.js"></script>
<script src="js/change-color.js"></script>
<script src="js/dark-mode.js"></script>
</body>
</html>