An checklist that preserves its items in localStorage.
- Modify file structure so that it's a bit more organized
- Use
data-indexorid, don't need both - Check
e.target.typeinstead of checking ife.targetcontains a string withmatches() - Remove unnecessary call to
populateList()intoggleDone() - Add functionality to remove checklist items
- If the object key and value have the same name, you can just put the name of the variable (in ES6)
- Reset method of forms