-
Notifications
You must be signed in to change notification settings - Fork 0
/
to-do.html
37 lines (37 loc) · 1.11 KB
/
to-do.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
<!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">
<script src="todoscript.js"></script>
</head>
<body>
<header>
<h1>To-Do List</h1>
</header>
<main>
<div class="task-input-container">
<input type="text" id="task-input" placeholder="Add a new task">
<button id="add-button" class="add-button">Add Task</button>
</div>
<ul id="task-list">
<li>
Sample Task-1
<div class="task-buttons">
<button class="edit-button">Edit</button>
<button class="delete-button">Delete</button>
</div>
</li>
<li>
Sample Task-2
<div class="task-buttons">
<button class="edit-button">Edit</button>
<button class="delete-button">Delete</button>
</div>
</li>
</ul>
</main>
</body>
</html>