JSFiddle - React, Tailwind, and code Playground

HTML

<div id="box"></div?

CSS

#box {
    width:350px;
    height:300px;
    background-color:beige;
    border:1px solid black;
}

JavaScript

$(function() {
    $('body').mousemove(function(e){
        console.log("mousemove hander: x="+e.clientX+",y="+e.clientY);
    });
});