Challenge: Listen for Browser Events: x-on
Complete the code in the given problem to pass the challenge.
We'll cover the following
Challenge yourself
The code below is incomplete. Complete it so that there’s a button and a p
tag. When you press the button, it must toggle the p
element. You can provide any content for the p
element.
Get hands-on with 1200+ tech skills courses.