JSFiddle - React, Tailwind, and code Playground

HTML

<div id="canvas">0</div>

CSS

#canvas
{
    width:200px;
    height:200px;
    border : 1px solid;
}

JavaScript

$('#canvas').mousemove(function(e){
    var i = parseInt($(this).text());
    i++;
        $(this).text(i);
    for(var i = 0; i<100000;i++)
    {
        $('#canvas');
    }    
    
});