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 here " );
    
   setTimeout(a,1000);

   }