JSFiddle - React, Tailwind, and code Playground
HTML
<textarea style="display:none;" id="text" rows="5" cols="25"></textarea> <span id="fade">fade</span>
JavaScript
$("#fade").click(function () {
$("#text").fadeIn('slow', function () {
$("#text").css('background-color', 'red');
});
return false;
});