JSFiddle - React, Tailwind, and code Playground

HTML

<p>This will hidden on the web page</p>
  <a href="#">Click Here to hide this anchor tag</a>
<input id="xx" />

JavaScript

$(document).ready(function(){
    $("a").click(function () {
      $('#xx').hide();
      return false;
    }); 
    $("p").hide();
});

$(document).ready(function()
    {

}