-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (78 loc) · 4.12 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
<!DOCTYPE html>
<html lang="en">
<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">
<!-- link to imported 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=Josefin+Sans:wght@400;700&display=swap" rel="stylesheet">
<!-- link to stylesheet -->
<link rel="stylesheet" href="style.css">
<title>ToDo App</title>
</head>
<body> <!-- Has two children in cover-image-section and content-section -->
<header class="cover-image-section"></header>
<section class="content-section"> <!-- white background which todo-section__wrapper will be positioned relatively to -->
<div class="todo-section__wrapper"> <!-- container for todo-section to make it responsive -->
<section class="todo-section"> <!-- set position to absolute and be positioned relatively to todo-section__wrapper -->
<!-- Todo Header-->
<div class="todo-section__header">
<h4 class="logo">TODO</h4>
<div class="toggle-appearance-btn">
<!-- <img class="moon-icon" src="images/icon-moon.svg" alt="an icon that toggles the page appearance between light and dark mode"> -->
<!-- <img class="sun-icon" src="images/icon-sun.svg" alt="an icon that toggles the page appearance between light and dark mode"> -->
</div>
</div>
<!-- Todo Entry-->
<div class="todo-section__entry">
<div class="entry-field">
<figure class="error-img">
<img src="images/icon-error.svg" alt="">
</figure>
<div class="checkbox">
<img src="images/icon-check.svg" alt="check mark" class="check-mark">
</div>
<form id="add-list" class="input-field" onsubmit="return displayTodoList();">
<input id="entry-text" type="text" placeholder="Create a new task...">
</form>
</div>
</div>
<!-- Todo List-->
<div id="list" class="todo-section__list"></div>
<!-- Todo Status -->
<div class="todo-section__status">
<div class="status-wrapper">
<div class="items-left">
<p class="todo-count">0 items left</p>
</div>
<div class="list-preference">
<div class="content-wrapper">
<p class="all">All</p>
<p class="active">Active</p>
<p class="completed">Completed</p>
</div>
</div>
<div class="clear-completed-btn">
<p>Clear Completed</p>
</div>
</div>
</div>
<!-- Mobile Todo Status -->
<div class="mobile-list-preference">
<div class="content-wrapper">
<p class="all">All</p>
<p class="active">Active</p>
<p class="completed">Completed</p>
</div>
</div>
<aside class="side-info">
<p>Drag and drop to reorder list</p>
</aside>
</section>
</div>
</section>
<script defer src="app.js"></script>
</body>
</html>