JSFiddle - React, Tailwind, and code Playground

by Ivin Raj S

HTML

<div class='test' style='visibility: visible;'>div1</div>
<div class='test1'>div2</div>

JavaScript

$('.test').click( function() { alert('It\'s set!'); });
$('.test1').click( function() { alert('not set!'); });