JSFiddle - React, Tailwind, and code Playground

HTML

<a href="#" id="aTest">Click to show the content</a>
<div id="div1" style="display:none">Here is my content which was hidden !</div>

JavaScript

$("#aTest").click(function(){
    $("#div1").fadeIn(400);
    
});