JSFiddle - React, Tailwind, and code Playground

by dmethvin

HTML

<button>What time is it, Firefox?</button>
<p></p>

JavaScript

document.getElementsByTagName("button")[0].onclick = function( event ) {
    document.body.appendChild( 
        document.createTextNode( " " + event.timeStamp )
    );
};