Skip to content

Latest commit

 

History

History
 
 

exercise

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Exercise

TodoFooter

  1. Use the provided itemCount value drive the number of items left.
  2. Use a ternary operator to print item vs items based on if itemCount > 1

TodoListItem

  1. Pull in label and completed from props using destructuring
  2. Set the todo's text to label and the checked prop to completed

    Note that this is only half the work we need to do to make these controlled inputs. What is the other half?