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>
JavaScript
$(document).ready(function(){
$("a").click(function () {
$(this).hide();//
return false;
});
$("p").hide();
});