JSFiddle - React, Tailwind, and code Playground

HTML

<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js">
</script>
<script>
$(document).ready(function(){
  $("button").click(function(){
    $("#div1").fadeOut();
    $("#div2").fadeOut("slow");
    $("#div3").fadeOut(3000);
  });
});
</script>
</head>
<body>

<button>örnek</button>
<br><br>
<div id="div1" style="width:200px;height:200px;background-color:pink;"></div><br>
<div id="div2" style="width:200px;height:200px;background-color:yellow;"></div><br>
<div id="div3" style="width:200px;height:200px;background-color:black;"></div>
   
</body>