JSFiddle - React, Tailwind, and code Playground

by Anurag Udasi

HTML

<div id = "try_me">Try Me!</div>

JavaScript

this.message = "I am tired!";

document.getElementById("try_me").onclick = function(event)
{
    alert(message);
};