JSFiddle - React, Tailwind, and code Playground
HTML
<button id="button">Here is a button</button>
JavaScript
button = document.getElementById('button');
button.addEventListener('mouseover', function () {
document.body.style.background = 'red';
});