Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
<style>
div {
width: 200px;
height: 100px;
border: 1px solid red;
}
</style>
</head>
<body>
<span id="test"></span>
<div onmousemove="show(event)" onmouseout="clear()"></div>
<script>
function show(event) {
var x = event.clientX;
var y = event.clientY;
var coor = "X coords: " + x + ", Y coords: " + y;
document.getElementById("test").innerHTML = coor;
}
function clear() {
document.getElementById("test").innerHTML = "";
}
</script>
</body>
</html> 
The most helpful JAVASCRIPT solutions