JSFiddle - React, Tailwind, and code Playground

by Mohan Ahuja

HTML

<p>By clicking on button you can hide below div which has class as row</p>
<div class="row">This div has class row and this will be hidden.</div>

<button>Click to hide div</button>

JavaScript

$(document).ready(function(){
  $("button").click(function(){
    $(".row").hide();
  });
});