JSFiddle - React, Tailwind, and code Playground

HTML

<img src="" alt="the picture"/>
    <button class="goto">click</button>

CSS

img {
    width:200px;
    height:200px;
}
button {
    
}

JavaScript

$("img").hover(
    function(){$(".goto").fadeIn()},
    function(){$(".goto").fadeOut()}
);