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

@@ -74,13 +74,12 @@ function addTodo() {
### Cleanup
Now that our todo has been inserted into the DOM, we can clear the text input and call `updateRemaining()`.
Now that our todo has been inserted into the DOM, we can clear the text input. In the exercise, we'll also update the count of the remaining todos in the footer from here.
```js
function addTodo() {
...
clearInput('.textfield');
updateRemaining();
}
```