-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathto-do-list.html
91 lines (74 loc) · 1.91 KB
/
to-do-list.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Local Storage Tutorial</title>
<style>
body {
margin: 100px auto;
text-align: center;
border: 2px solid #000;
margin: 15px;
}
#tdl-header {
border: 2px solid #000;
padding: 10px;
margin: 20px 20px;
}
#tdl-list {
border: 1px solid #009688;
border-radius: 2px;
width: 90%;
color: #022522;
text-align: center;
padding: 10px;
margin: 20px 20px;
}
ul li {
list-style: none;
border: 2px solid #000;
margin: 5px;
background: rgb(201, 196, 196);
}
div {
margin: 20px auto;
}
.remove {
float: right;
color: red;
}
.close,
.closeCom {
margin: 12px 25px 12px 20px;
}
.check,
.checkCom {
margin: 12px 25px 12px 20px;
}
.close:hover {
background-color: #f44336;
color: white;
}
</style>
</head>
<body>
<div id="tdl">
<div id="tdl-header">
<input type="search" id='myInput' placeholder="Enter new task">
<button id="add-task">add</button>
<button id="search-task">search</button>
</div>
<p>ToDoList</p>
<div id="tdl-list">
<ul id="myUL">
</ul>
</div>
<p>Complete ToDoList</p>
<div id="tdl-list">
<ul id="myULCheck">
</ul>
</div>
</div>
<script src="ToDoListt.js"></script>
</body>
</html>