/js-shopping-list

Challenge - make a simple shopping list example that allows you to dynamically add items to the list using a form input and button.

Primary LanguageHTML

Demo

https://jasheloper.github.io/js-shopping-list/


JS Shopping List - About

In this challenge we want to make a simple shopping list example that allows you to dynamically add items to the list using a form input and button. When you add an item to the input and press the button:

  • The item should appear in the list.
  • Each item should be given a button that can be pressed to delete that item off the list.
  • The input should be emptied and focused ready for you to enter another item.

Steps

https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Manipulating_documents#active_learning_a_dynamic_shopping_list