Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. For the 3 remaining user stories (add items, check/uncheck items, and delete items), plan out each function in pseudocode (plain language).
  2.  
  3. Add Item:
  4.  
  5. - Need a form to capture user input for the new item
  6. o The name of the item
  7. - This information needs to be added to the STORE
  8. - This information needs to be placed through the render so that the list item is created and then joined together into the unordered list
  9.  
  10. Check/uncheck Item:
  11.  
  12. - By default, list items have a property in the store set to false.
  13. - The checked button will toggle the property between true and false
  14. - When true we need to add a class to the list item the button is inside of
  15. - This class will add the strike through using CSS (specifically, .shopping-item__checked from index.css)
  16.  
  17. Delete Item:
  18.  
  19. - This delete button will need to splice the STORE to remove the item that the button that was clicked lives inside
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement