Single Choice
Easy
QThe properties that define the mouse's position and button state are
ID: #5153
Javascript DOM & Event Handling MCQ
148 views
Question Info
#5153Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The clientX and clientY properties define the mouse's position in window coordinates.
When a mouse event is triggered, the clientX property returns the horizontal coordinate (according to the client area) of the mouse pointer.
ClientY, on the other hand, returns the vertical coordinates.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic