JSFiddle - React, Tailwind, and code Playground

by Fiddel

HTML

<div>

</div>


<h1>

</h1>

CSS

div {
  padding:10em;
  background-color:red;
}

JavaScript

$("div").on("click dblclick mouseover mouseout mousedown mouseup ",function(e){
        $("h1").html("Event: " + e.type);
});