Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. function handleNewItemSubmit()
  2. Listen for a mouse click on the 'add item' submit button;
  3. Add the entered name into our global varialbe STORE with checked attribute set to 'false'
  4. Call renderShoppingList to refresh the grocery list
  5.  
  6. function handleItemCheckClicked()
  7. Listen for a mouse click on the 'check' button of the item
  8. Assign the css class that styles a strike-through on the item name
  9. Call renderShoppingList to refresh the grocery list
  10.  
  11. Delete Items
  12. Listen for a mouse click on the 'delete' button
  13. Delete this item from our array 'STORE'
  14. Call renderShoppingList to refresh the grocery list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement