JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<div class="dd">
Select div
</div>

CSS

.dd
{
  position:absolute;
  height:250px;
  width:250px;
  background-color:white;
}

JavaScript

$(document).ready(function(){
$('body').on('click touchstart','.dd',function(){
alert("clicked");
});
});