JSFiddle - React, Tailwind, and code Playground

by Ishank Dubey

HTML

<button id='button'>
  test
</button>

JavaScript

document.getElementById('button').addEventListener('click',function(e){
console.log(this);
});