JSFiddle - React, Tailwind, and code Playground

by Alexander

HTML

<div>Click me!</div>

CSS

div {
    font-size: 200%;
}

JavaScript

console.clear();

// jQuery emulate in 2 rows
var $ = document.querySelector.bind(document);
Element.prototype.on = Element.prototype.addEventListener;

// Test
$('div').on('click', function(){ alert(1) })