Have something memorable coming up? Want to keep track of it online and get excited as the big day approaches?
Well I did, so I made a simple javascript function that does just that. It’s in pure javascript (no jQuery or other dependencies) and here’s the output:
To use it, you just specify the date you want to count down towards and the id of the element in the DOM where it’ll go. For example:
And here’s the function you can drop into your site to power it: