Update Step 1-0 exercise to match instructions

This commit is contained in:
Ronald Martin
2019-03-01 08:57:02 -08:00
parent 52bde850fc
commit e7fb20433f
3 changed files with 2 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ If you don't already have the app running, start it with `npm run static` from t
1. Add an `onclick` attribute to all three buttons in the navigation.
2. In each `onclick` call the `filter` function. In our function we need a reference to the clicked button, so pass in the keyword `this` as the only parameter.
### Write an `updateRemaining` function
### Complete the `updateRemaining` function
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.