Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript JavaScript and the DOM (Retiring) Responding to User Interaction Events and Functions as Parameters Review

Indu khan
Indu khan
169 Points

Please explain

Please explain

Hi Indu What specifically do you need more information on? Your question is a bit vague.

Indu khan
Indu khan
169 Points

Hovering over the answer to this question is a DOM event. Choose the correct answer below:
True False

2 Answers

It is true, it is a DOM event.

Ah ok. The answer button is an item on the quiz-DOM. Its asking if the action that you are doing by hovering over the answer button (whether true or false) would be considered an event in JS? Is this something you can write code for to trigger a response or action. Can you change the way a user experiences your program when they hover over a specific item? (can you make the answer light up, dim, offer a hint, change colors - etc).

If the answer is yes, then its true, if not then false.

Further info - Hovering is considered a mouse event