JSFiddle - React, Tailwind, and code Playground
HTML
<h1 id="myH1">this is the h1</h1>
<p id="myP">this is the p</p>
JavaScript
var h1 = document.getElementById("myH1");
var myP = document.getElementById("myP");
h1.addEventListener("mouseover", mouseOver);
function mouseOver(){
myP.innerHTML = "new value";
}