JSFiddle - React, Tailwind, and code Playground

by Abhisek DasGupta

JavaScript

var btn = document.createElement("button");
 btn.setAttribute("hello", "true");
var t = document.createTextNode("DON'T CLICK");
btn.appendChild(t);
document.body.appendChild(btn);