Skip to content

Commit d674f5c

Browse files
author
russom
committed
comment added
1 parent f997781 commit d674f5c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1>My ToDo List</h1>
1616
<div class="todo-input">
1717
<input type="text" id="new-task-input" placeholder="Enter a new task..." />
1818
<button id="add-task-btn">Add</button>
19-
<button id="delete-completed-btn">Delete completed</button>
19+
<button id="delete-completed-btn">Delete completed tasks</button>
2020
<!-- add a "Delete completed tasks" button.-->
2121
</div>
2222

‎Sprint-3/todo-list/todos.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function toggleCompletedOnTask(todos, taskIndex) {
2828
}
2929
}
3030

31-
// To remove all completed ToDos from the given list.
31+
// Remove all completed ToDos if they exists and are toggled.
3232
export function deleteCompleted(todoList) {
3333
if (todoList) {
3434
toggleCompletedOnTask(todoList);

0 commit comments

Comments
 (0)