JSFiddle - React, Tailwind, and code Playground

by alexg88

HTML

<a class="user" href="www.google.es">Google</a><img style="display:none" src="http://www.google.es/images/logos/ps_logo2.png" />

CSS

.user{
 float:left;   
}

JavaScript

$(".user").hover(function(){
 $(this).next("img").show();
},
  function(){
 $(this).next("img").hide();
}          
 );