We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 384a4dd commit 7210f43Copy full SHA for 7210f43
Sprint-3/todo-list/index.html
@@ -34,14 +34,6 @@ <h1>My ToDo List</h1>
34
</div>
35
</li>
36
</template>
37
- <br>
38
39
- <div id="completed-tasks">
40
- <h2>Completed Tasks</h2>
41
- <ul id="completed-list"> </ul>
42
- <button id = "delete-completed-btn">Delete Completed Tasks</button>
43
- </div
44
- >
45
46
47
</body>
Sprint-3/todo-list/script.mjs
@@ -73,11 +73,4 @@ function createListItem(todo, index) {
73
});
74
75
return li;
76
-}
77
-
78
-const completedList= document.querySelector("#completed-list");
79
-const deleteCompletedTasks= document.querySelector("#delete-completed-btn");
80
-deleteCompletedTasks.addEventListener("click", ()=> {
81
- todos.deleteCompletedTasks();
82
- render();
83
-});
+}
0 commit comments