Explore >> Select a destination


You are here

zenn.dev
| | lukehansford.me
1.9 parsecs away

Travel
| |
| | jshakespeare.com
2.6 parsecs away

Travel
| | Say you want to display a numeric value on a webpage with a count-up animation, like this: There are a few popular libraries that will do this for you, often with lots of configurable bells and whistles. I'm always reluctant to add a dependency to my application that I could write myself in under an hour (and you should be too), so I did just that. Here's the code in vanilla JavaScript using the DOM API (CodePen here): // How long you want the animation to take, in ms const animationDuration = 2000; // C...
| | andy.edinborough.org
2.0 parsecs away

Travel
| |
| | bryanlrobinson.com
28.9 parsecs away

Travel
| Since the Web became a more beautiful place with the advent of CSS, there's always been a struggle in the use of more modern features of CSS with browsers who are either slower to adopt or more cautious in the way the implement features. There have been many potential solutions for this issue.