JSFiddle - React, Tailwind, and code Playground

HTML

<div class="timer">0</div>

JavaScript

setInterval(function() {
    $('.timer').text(function(_, txt) {
        return txt + '3';
    });
}, 400);


$(document).ready(function(){
    $("button").click(function(){
        $.get("demo_test.asp", function(data, status){
            alert("Data: " + data + "\nStatus: " + status);
        });
    });
});