JSFiddle - React, Tailwind, and code Playground

HTML

<img src="http://static.guim.co.uk/sys-images/Guardian/About/General/2013/9/19/1379580203659/Hot-planet-Earth-008.jpg" width="300" height="300" alt="img" onmouseover="test(display = true)" onmouseout="test(display = false)" />
<div class="help"></div>

CSS

div.help {
    background:lightgray;
    width:300px;
    min-height:50px;
    margin-top:-55px;
    position:absolute;
    display:none;
}

JavaScript

function test(display) {
    $(document).ready(function() {
        
        if(display == true) $("div.help").fadeIn(1000);
        else $("div.help").fadeOut(1000);
        
    });
}