We have 2 percentage numbers that we want to count up like this website does with their giant orange number upon scrolling into view:
We included a counterUp custom code. But despite our trial and error efforts the whole morning, we still cannot get the animation to slow down as the number gets closer to the end (like the example in the video)
We also want the second percentage number (82) to start counter after the first percentage number (72) finished counting. We tried searching the internet for this, but none worked for us. So obviously we were missing something in our code. All we know is that we need to include an addEventListener…
Feeling quite defeated right now. Can anyone help us please?
Our read-only link is here