mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
day 1 exercise updates
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
1. Get a reference to the span with the `remaining` class, and store it in a variable
|
||||
2. Use [querySelectorAll](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll) to get all of the todos.
|
||||
3. Set the `innerText` of the remaining span to the length of those todos.
|
||||
4. Add updateRemaining() to addTodo
|
||||
4. Add updateRemaining() to end of addTodo function
|
||||
|
||||
### Write a clearCompleted function
|
||||
|
||||
|
||||
Reference in New Issue
Block a user