JSFiddle - React, Tailwind, and code Playground

by broofa

HTML

<button onclick="x = event.target || event.srcElement; alert(x.nodeName)">Click me</button>