In this mini-project, I will show you how to create an animated counter that counts up to any number using JavaScript with HTML & CSS.
Code:
https://codepen.io/bradtraversy/pen/poJwqOK
💖 Become a Patron: Show support & get perks!
http://www.patreon.com/traversymedia
Website & Udemy Course Links:
https://www.traversymedia.com
Follow Traversy Media:
https://www.twitter.com/traversymedia
https://www.instagram.com/traversymedia
https://www.facebook.com/traversymedia
Thank you so much !
Nice, really enjoyed it,
Please what if I wanted to add one to the data target every time it counts up,
So at first it'll be
5000, then 5001, 5002,
Would appreciate a response asap thank you
Thanks for this nice tutorial. How is it possible to show a value in Hours:Minutes:Seconds likte total running time?
Hello, thank you for sharing the good code. However, there is an error in JavaScript. On line 15, 'count.InnerText' should be changed to 'counter.innerText' There is a type error, That's my opinion. Thank you.
Is it possible to have the numbers going up at different speeds inside of one set of code instead of repeating the exact same code over multiple times with different speeds?