a guest May 19th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
  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
  12. Function handleDeleteItemClicked()
  13. -The Shopping list items are deleted when delete button is clicked
  14.   *removes the item from STORE
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand