JSFiddle - React, Tailwind, and code Playground

by shriek

HTML

<div id="hi">hi</div>
<a id="crisis" href="#crisis">trigger</a>

JavaScript

$('#crisis').on("click",function(){
    console.log("fuckery");
    alert("value of first div " + $("div").attr("id"));
});