Back to the lesson

Hide on click

importance: 5

Add JavaScript to the button to make <div id="text"> disappear when we click it.

The demo:

Open the sandbox for the task.