JSFiddle - React, Tailwind, and code Playground
by anish
HTML
<div id="foo">x</div>
JavaScript
$(document).ready(function(){
var ss = $('#foo').fadeIn().html('goodbye');
ss.delay(1000).fadeOut(function(){$('#foo').html('hello').fadeIn()});
});