JSFiddle - React, Tailwind, and code Playground
HTML
<a href="#one" class="hash">One</a>
<div>
<p>some text</p>
</div>
<a href="#two" class="hash">Two</a>
<div>
<p>some text</p>
</div>
<a href="#three" class="hash">Three</a>
<div>
<p>some text</p>
</div>
CSS
div {
height: 400px;
}
JavaScript
$(function () {
console.log("HI");
setTimeout(function(){ console.log("Hello"); }, 3000);
console.log("HI 1");
});