-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (101 loc) · 3.88 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
<!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 rel="stylesheet" href="style.css" />
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<title>To do app</title>
</head>
<body>
<div class="container">
<header>
<h1>To do</h1>
</header>
<main>
<section>
<form id="add-task-form">
<div class="form-title">
<label for="title"></label>
<input
type="text"
id="title"
name="title"
placeholder="write task here"
/>
</div>
<div class="form-important" title="Important">
<label for="isImportant"
><span id="starbox" class="material-icons"
>star_outline</span
></label
>
<input
type="checkbox"
id="isImportant"
name="isImportant"
/>
</div>
<div class="form-submit-btn">
<button type="submit">
<span class="material-icons"> add </span>
</button>
</div>
</form>
</section>
<section>
<h2>Tasks</h2>
<button type="button" id="btn-sort-menu">Sort</button>
<button type="button" id="btn-filter-menu">Filter</button>
<button id="btn-show-all" type="button">Show all</button>
<div class="sort-menu hidden">
By title
<button
type="button"
id="btn-sort-title-asc"
class="material-icons"
>
north
</button>
<button
type="button"
id="btn-sort-title-desc"
class="material-icons"
>
south
</button>
By date
<button
id="btn-sort-date-asc"
type="button"
class="material-icons"
>
north
</button>
<button
id="btn-sort-date-desc"
type="button"
class="material-icons"
>
south
</button>
</div>
<div class="filter-menu hidden">
<button id="btn-show-completed" type="button">
Completed
</button>
<button id="btn-show-important" type="button">
Important
</button>
</div>
<ul id="task-list"></ul>
</section>
</main>
</div>
<script src="main.js"></script>
</body>
</html>