-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (61 loc) · 2.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>To-Do-List</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<div class="app1">
<form id="form">
<h1>To-Do Web App</h1>
<h4>Task title</h4>
<input id="input1" type="text">
<div id="msg"></div>
<h4>Due Date</h4>
<input id="input2" type="date">
<h4>Description</h4>
<textarea name="" id="input3" cols="30" rows="10"></textarea>
<button id="addnew" type="submit">
<span>Enter Your Task</span>
<i class="fa-solid fa-plus"></i>
</button>
</form>
</div>
<div class="app2">
<h3>Task List</h3>
<div id="taskslist">
<div>
<span id="heading" class="stike">Task 1</span>
<span id="date" class="stike">2023-02-05</span>
<p class="stike">Going to the gym </p>
<span class="options">
<i onClick="taskdone(this)" class="fa-solid fa-check"></i>
<i onClick="updatetask(this)"class="fa-solid fa-pen-to-square"></i>
<i onClick="deletetask(this)" class="fa-solid fa-trash"></i>
</span>
</div>
<div>
<span id="heading">Task 2</span>
<span id="date">2023-01-12</span>
<p>Early to bed</p>
<span class="options">
<i onClick="taskdone(this)" class="fa-solid fa-check"></i>
<i onClick="updatetask(this)"class="fa-solid fa-pen-to-square"></i>
<i onClick="deletetask(this)" class="fa-solid fa-trash"></i>
</span>
</div>
</div>
</div>
<div class="app3">
<h3>Task Completed</h3>
<div id="taskscomp">
</div>
</div>
<script src="script.js"></script>
</body>
</html>