JSFiddle - React, Tailwind, and code Playground

HTML

<textarea name="" id="" cols="30" rows="10"></textarea>
<div class="texto">Texto aqui.</div>

CSS

.texto {
    padding:10px;
    display:none;
}

JavaScript

function mostratexto(el, txt, ms) {
    var t;
    el.on('keyup', function () {
        clearTimeout(t);
        txt.fadeIn('fast');
        t = setTimeout(function () {
            txt.fadeOut('fast');
        }, ms);
    });

}
mostratexto($('textarea'), $('.texto'), 1000);