JSFiddle - React, Tailwind, and code Playground

HTML

<b>TAG1</b>
<span id="spacer"></span>
<strong>TAG2</strong>

JavaScript

$("#spacer").mouseover(function(){
        alert("TEST");
    });