JSFiddle - React, Tailwind, and code Playground

by Sahan Serasinghe

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
  $(document).ready(function() {
    $("button").click(function() {
      $("div").fadeToggle();
    });
  });

</script>

<body>


  <button>Click Here To FadeToggle</button>
  <br>
  <br>

  <div style="width:80px;height:80px;background-color:red;"></div>


</body>