Week 6 - Task 2

Shopping list

Functionality:

When you press the button:
  1. the value of the input field should be added to an array
  2. the value of the input field should be cleared after it's added
  3. the values of the array should be displayed in the output section by using a for-loop as in the w3schools example
Example of how a solution might look like: GIF