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