JSFiddle - React, Tailwind, and code Playground
HTML
<textarea id="myTextarea"></textarea>
<div id="showedText"></div>
CSS
#showedText{
display: none;
}
JavaScript
$(function(){
$('#myTextarea').on('keyup',function(){
$('#showedText').text('Just a test!').stop().fadeIn(700, "linear");
setTimeout(function(){$('#showedText').stop().fadeOut(700, "linear");},2000);
});
});