-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
111 lines (107 loc) · 3.53 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Bootstrap CSS -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<link href="css/styles.css" rel="stylesheet" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<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=Merriweather:ital,wght@1,300&family=Montserrat:wght@300&family=Sacramento&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="css/noti.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
/>
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<title>To-do-list</title>
</head>
<body>
<h1>To Do List</h1>
<h2>Write your daily tasks.</h2>
<!-- notification -->
<div id="not" class="notf-box">
<div class="icon">
<span class="fas fa-exclamation-circle"></span>
</div>
<p id="not-text" class="text">A succesful Notification</p>
</div>
<div class="row">
<div class="col-md-12">
<form
method="get"
class="d-flex justify-content-center flex-column align-items-center"
>
<div>
<label for="name" class="form-label">Title</label>
<input type="text" class="form-control" id="title" />
</div>
<div>
<label for="Description" class="form-label">Description</label>
<textarea class="form-control" id="desc" rows="3"></textarea>
</div>
<div class="d-flex">
<button type="submit" class="btn btn-secondary" id="add">
Add
</button>
<button type="Clear Previous" class="btn btn-danger" id="clearAll">
Clear All
</button>
</div>
</form>
</div>
<div class="col-md-12">
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Title</th>
<th scope="col">Description</th>
<th scope="col">Status</th>
<th scope="col">Delete</th>
</tr>
</thead>
<tbody id="tbody">
<tr id="tr1">
<th scope="row"></th>
<td></td>
<td></td>
<td>
<button
type="submit"
class="btn btn-success btn-sm replace"
style="display: none"
>
Done
</button>
</td>
<td>
<button
type="submit"
class="btn btn-danger delete"
style="display: none"
>
Delete
</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="index.js"></script>
</body>
</html>