mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
Scaffolding out readmes
This commit is contained in:
18
step1-03/README.md
Normal file
18
step1-03/README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
Demo
|
||||
|
||||
already done
|
||||
|
||||
- addTodo
|
||||
- filter
|
||||
- filter()
|
||||
- getTodoText
|
||||
|
||||
Walk through 'addTodo'
|
||||
attach addTodo to button
|
||||
write clearInput/add to addTodo
|
||||
write updateRemaining
|
||||
|
||||
## Exercise
|
||||
|
||||
write clearCompleted
|
||||
add to footer button
|
||||
@@ -42,7 +42,7 @@
|
||||
return document.querySelector('.textfield').value;
|
||||
}
|
||||
|
||||
function clearInput(selector) {
|
||||
function clearInput() {
|
||||
document.querySelector('.textfield').value = '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user