JSFiddle - React, Tailwind, and code Playground

HTML

<div id="click-me">here</div>

JavaScript

//$('#click-me').click();

document.getElementById("click-me").addEventListener("click",function() { alert("rvrv")});

var content = $('body').html(); 

$('body').html(content);