Skip to content

Commit 61ced0a

Browse files
committed
add a button for delete all completed tasks
1 parent 4222cda commit 61ced0a

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

‎Sprint-3/todo-list/index.html‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="UTF-8" />
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
67
<title>ToDo List</title>
78
<link rel="stylesheet" href="style.css" />
89
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
910

1011
<script type="module" src="script.mjs"></script>
1112
</head>
13+
1214
<body>
1315
<div class="todo-container">
1416
<h1>My ToDo List</h1>
1517

1618
<div class="todo-input">
1719
<input type="text" id="new-task-input" placeholder="Enter a new task..." />
1820
<button id="add-task-btn">Add</button>
21+
<button id="delet-completed-btn">Delete completed</button>
22+
1923
</div>
2024

21-
<ul id="todo-list" class="todo-list">
25+
<ul id="todo-list" class="todo-list">
2226
</ul>
2327

2428
<!--
@@ -37,4 +41,5 @@ <h1>My ToDo List</h1>
3741

3842
</div>
3943
</body>
40-
</html>
44+
45+
</html>

0 commit comments

Comments
 (0)