Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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