JSFiddle - React, Tailwind, and code Playground
HTML
<div class="game" onmouseover="frogger()" onmouseout="clearr()">mousee</div>
<div id="descriptions"></div>
JavaScript
frogger = function(){
this.innerHTML = ["Frogger <br />Description: Get ",
"the frog to the islands at the top of the screen without falling into the water or",
"getting hit by cars. <br />Controls: Up arrow key to move forward, down arrow key to",
"move backward, left arrow key to move left, and right arrow key to move right."].join('');
}.bind(document.getElementById("descriptions"));
clearr = function(){
this.innerHTML = " ";
}.bind(document.getElementById("descriptions"));