JSFiddle - React, Tailwind, and code Playground

by PeeHaa

HTML

<h3>Please login to continue<span class="welcome">.</span></h3>

JavaScript

function addDots() {
    if (!$(".welcome").text() == "...") {
        //$(".welcome").text($(".welcome").text() + '.');
    } else {
        //$(".welcome").text('.');    
    }
    
    //setTimeout('addDots()', 500);
};


(function($) {
    addDots();    
})(jQuery)