Week 6 - Task 3

Change DOM

In a pre-defined List of items (see below), you are going to change the content of all of them at once.

Functionality:

When you press the button use a for loop to change each item in the list. The content of each item should be the value of the input field and the index of the item.

List of items

Example of how a solution might look like: GIF