JSFiddle - React, Tailwind, and code Playground
by arch
HTML
<div id="test" onclick="$('div').text(event || e || window.event);">
</div>
CSS
#test {
width: 40px;
height: 40px;
background-color: #FF00FF;
}
by arch
<div id="test" onclick="$('div').text(event || e || window.event);">
</div>
#test {
width: 40px;
height: 40px;
background-color: #FF00FF;
}