JSFiddle - React, Tailwind, and code Playground

by j08691

HTML

<div id="myDiv" onmouseout="myFunc(this)" >
</div>

CSS

#myDiv {
    width:250px;
    height:200px;
    background:red;
}

JavaScript

function myFunc(x)
{
    alert('yo');
}