Closed AlexanderTirik closed 4 years ago
setInterval(() => {
var shares = document.getElementById("shares").innerHTML
shares = +shares.slice(0, -1)
var range = Math.floor(shares*(randomInteger(5,10)/100))
if (shares < 10000) animateValue("shares", range, 500)
}, randomInteger(3000,6000))
Need to write a function which will grow shares cost