JSFiddle - React, Tailwind, and code Playground

by secretgspot

HTML

<div id="test" style="display:none;">This will only show if it has hash in URL with test</div>

JavaScript

if (window.location.hash) {
    $(window.location.hash).show();
}