JSFiddle - React, Tailwind, and code Playground

by charaf11

HTML

<div id='div'>test</div>

JavaScript

document.getElementById('div').onmouseover=function(){a();};



function a(){
   alert("special code hear" );
    
   setTimeout(function(){a()},1000);

   }