JSFiddle - React, Tailwind, and code Playground

by Peter Hozák

HTML

<div id="outer"><button id="press">Press me</button></div>
<div id="output"></div>

JavaScript

(function(){
    "use strict";
    $("html #outer #press").click(function(){
        console.log(output);
        console.log(outer);
        console.log(press);
    });
}());