JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" name="test" id="r1"><label for="r1">value1</label>
<br />
<input type="checkbox" name="test" id="r2"><label for="r2">value2</label>

JavaScript

$('input').focus(function() {
    alert('why does this not show up in google chrome?!');
});