# How to find the coordinates of the cursor with JavaScript?

HTMLJavascriptProgramming Scripts

To find the coordinates of the cursor in JavaScript, use event.clientX and event.clientY. You can try to run the following code to get cursor coordinates in JavaScript:

## Example

<!DOCTYPE html>
<html>
</html>