JSFiddle - React, Tailwind, and code Playground
HTML
<div id="nav">
<ul>
<li>hello</li>
<li>bye</li>
<li>the</li>
</ul>
</div>
<div id="bounce"></div>
CSS
li {
display: inline-block;
background-color: green;
width: 45px;
text-align: center;
}
#bounce {
background-color: red;
width: 50px;
height: 50px;
}
JavaScript
$('#nav > ul > li').hover(function(){
console.log(1);
$(this).effect('bounce',{times:3},500);
});