Advertisement
Guest User

Untitled

a guest
May 19th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. Function handleNewItemSubmit()
  2. -The input is submitted when the submit is clicked.
  3. *if input contains text then add to STORE
  4. else
  5. if empty input then no action
  6.  
  7. Function handleItemCheckClicked()
  8. -The Shopping list items are checked upon clicking check button
  9. *only the closet named list item is checked
  10. *css, .shopping-item__checked, is selected to display line-through attribute
  11.  
  12. Function handleDeleteItemClicked()
  13. -The Shopping list items are deleted when delete button is clicked
  14. *removes the item from STORE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement