Home
Javascript Exercise 2
Write a function that reveals something new with each click.
- You should once again utilize the
click
event (or any other interaction-based event) to execute a function.
- Your function should update a variable and use it to manipulate the DOM with each function.
- You should also use the
appendChild
to update the DOM.