-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (45 loc) · 1.92 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
<!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">
<title>Todo</title>
<link rel="stylesheet" href="./style.css">
<script src="./script.js" type="module"></script>
<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=Roboto:wght@100;300;400&display=swap" rel="stylesheet">
</head>
<body class="flex-center">
<div class="container">
<header class="header">
<h1 class="title">My Todos</h1>
<div class="info">
<span id="tasksLeft"class="itemsLeft">tasks left: </span>
<div class="filters">
<button id="filterAll" class="btn-filter">All</button>
<button id="filterActive" class="btn-filter">Active</button>
<button id="filterCompleted" class="btn-filter">Completed</button>
</div>
</div>
</header>
<ul id="tasksList" class="tasks">
<!-- <li class="task">
<input type="checkbox" class="checkbox">
<span class="task-content">aaaaaaaaaa</span>
<button class="btn-del">X</button>
</li> -->
</ul>
</div>
<div class="add-container">
<div class="btn-box">
<!-- <button class="btn" role="button">+New Task</button> -->
<button id="newTask"class="btn" role="button"><span class="mobile-view">+</span><span class="text normal-view">+New Task</span></button>
</div>
<div class="input-box">
<input id="taskInput" hidden type="text" class="txt-input" placeholder="Create a new todo..." id="addt"/>
</div>
</div>
</body>
</html>