JSFiddle - React, Tailwind, and code Playground

by Hamed Momeni

HTML

<div id="top">
    hover me!
</div>

<div id="text">
    What's Up?                           
</div>

CSS

#text{
    display:none;
}

JavaScript

$(function() {
    $('#top').hover(function() {
        $('#text').show();
    }, function() {
        $('#text').hide();
    });
});