JSFiddle - React, Tailwind, and code Playground

HTML

<div class="otherdiv">
</div>

<div class="divtoshow">

</div>

CSS

.otherdiv{
  height: 100px;
  width: 100px;
  background-color: #ff0000;
}

.divtoshow{
  height: 100px;
  width: 100px;
  background-color: #fff000;
  display: none;
}

JavaScript

$(".otherdiv").hover(function(){
	$(".divtoshow").toggle();
});