JSFiddle - React, Tailwind, and code Playground

by Vinay Pratap Singh Bhadauria

HTML

<a href="#" class="helpTip1" id="removeId">aa
                        <span id="helptext1" class="help_txt1">
                        <span class="help_txt1"  id="helptxtContent">
                                help text goes here                         </span>
            </span>
           </a>

JavaScript

var hide = false;
$(document).ready(function () {
    $("#removeId").click(function () {
        if (hide == false) {
            $("#helptxt1").fadeToggle('slow');
            $("#helptxtContent").fadeToggle('slow');
        }
    });
});