JSFiddle - React, Tailwind, and code Playground

HTML

<div>
    <span>This is so</span>
    <span id="changerificwordspanid">awesome</span>
</div>

JavaScript

(function(){
    var words = [
        'awesome',
        'incredible',
        'cool',
        'fantastic'
        ], i = 0;
    setInterval(function(){
        $('#changerificwordspanid').fadeOut(function(){
            $(this).html(words[i=(i+1)%words.length]).fadeIn();
        });
    }, 0);
        
})();