-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodolist.html
56 lines (54 loc) · 1.64 KB
/
todolist.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>todolist</title>
<!-- bootstrap 5.0.2 css for design -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<!-- font awesome css for icons -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
</head>
<body>
<div class="container-fluid">
<div class="container">
<div class="mx-auto mt-5" style="max-width: 700px">
<div class="input-group mb-3">
<input
type="text"
class="form-control"
placeholder="Enter Your Name"
aria-label="Recipient's username"
id="username"
aria-describedby="button-addon2"
/>
<button class="btn text-white btn-info" type="button" id="addUser">
Add User
</button>
</div>
<div class="display">
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Your Name</th>
<th scope="col">Actions</th>
</tr>
</thead>
<tbody id="records"></tbody>
</table>
</div>
</div>
</div>
</div>
<script src="todo.js"></script>
</body>
</html>