top of page

Number Count Up Effect with Velo

Do you want to create a cool effect where numbers count up on your Wix websites? Well, in this lesson, you will learn how to do just that with just a few lines of code.


Wix Velo: Number Count Up Effect

 

let startNum = 3200000; let endNum = 3384000; const duration = 3; // 1000 milliseconds $w.onReady(function () { setInterval(() => { countUp(); }, duration); }); function countUp() { if (startNum <= endNum) { $w('#numberText').text = startNum.toLocaleString(); startNum += 100; } }

 

Enjoy!

Comments


bottom of page