-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo.html
94 lines (82 loc) · 2.21 KB
/
todo.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
<!DOCTYPE html>
<html>
<head>
<title>Task Manager</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
background-color: #D7BBF5;
}
#left_pane {
flex: 1;
padding: 50px;
border-right: 1px solid #ccc;
background-color: #A076F9;
border-radius: 12px;
}
#right_pane {
flex: 2;
padding: 50px;
background-color: #A076F9;
border-radius: 12px;
margin-left: 10px;
}
h2 {
margin-top: 0;
color: white;
font-family: 'Handjet', 'cursive';
}
ul {
list-style: none;
padding: 0;
}
li {
margin-bottom: 10px;
cursor: pointer;
}
.task-form {
display: none;
}
.active-form {
display: block;
}
button{
background-color: #D7BBF5;
border: 0px solid #A076F9;
border-radius: 4px;
width: 60px;
padding: 3px
}
#inp{
padding: 5px;
width: 30%;
border: 0px solid #A076F9;
border-radius: 7px;
margin-bottom: 12px;
}
input[type="checkbox"]:checked+label {
text-decoration: line-through;
color: grey;
}
</style>
<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=Handjet:wght@200&display=swap" rel="stylesheet">
</head>
<body>
<div id="left_pane">
<h2>TODO LIST</h2>
<div id="parent"></div>
</div>
<div id="right_pane">
<div class="task-form active-form">
<h2>CREATE NEW TASK</h2>
<input type="text" placeholder="Enter Task" id="inp" />
<br>
<button id="btn">ADD</button>
</div>
</div>
<script src="/todoScript.js"></script>
</body>
</html>