JSFiddle - React, Tailwind, and code Playground

by Felipe Stoker

HTML

<div id="log"></div>

JavaScript

$( document ).on( "mousemove", function( event ) {
  $( "#log" ).text( "pageX: " + event.pageX + ", pageY: " + event.pageY );
});