JSFiddle - React, Tailwind, and code Playground

by smotru

HTML

<div id="test"></div>

JavaScript

var random = 1000;

setInterval(function() {random = randomizator(60000,200000);} ,1000);
setInterval(function() {showRandom(random);}, random);

function randomizator(a,b)
{
    return Math.floor(Math.random()*b) + a;
}
function showRandom(random)
{
    $('#test').text(random);
}