JSFiddle - React, Tailwind, and code Playground
by Kang Yuan
HTML
<body>
<div style="border:1px solid blue; height:150px;width:150px;" onclick='test();' id="test">This is a test.
</div>
</body>
JavaScript
window.onload=function()
{
function test()
{
alert("test");
}
}