JSFiddle - React, Tailwind, and code Playground

by soulwire

HTML

<button id="b">
asdf
</button>

JavaScript

document.getElementById('b').addEventListener('click', e => {
console.log(e)
})