-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (47 loc) · 1.54 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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=3.0, minimum-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>MyTodo</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
<link id="todostyle" rel="stylesheet" href="./light.css">
<link rel="stylesheet" href="./switch.css">
<style>
* {
margin: 0;
padding: 0;
}
ul {
list-style: none;
}
</style>
</head>
<body>
<header>
<div class="center inputTodo">
<span>MyTodo</span>
<input type="text" placeholder="Type in todos" id="ipt" oninput="inputChange()">
</div>
</header>
<div class="switch">
<input type="checkbox" id="cbx" onchange="changeStyle()" class="uiswitch">
</div>
<div class="center todoContainer">
<h2>Active <span class="todoCount">0</span></h2>
<div class="select-all" onclick="selectAll()">Select All</div>
<ul class="todo">
</ul>
<h2>Done <span class="doneCount">0</span></h2>
<div class="unselect-all" onclick="unSelectAll()">Unselect All</div>
<ul class="done">
</ul>
</div>
<footer>
Copyright © 2021 Yumin Lu <a href="javascript:clear();">clear all</a>
</footer>
<script src="./todoList.js"></script>
</body>
</html>