How many days, hours, minutes and seconds are there left until New Year 2021?
This is mainly a script, there is very little on the actual page. Important is that there has to be an empty paragraph with an ID that is also reflected in the script. The countdown result will then appear and populate that empty paragraph. I have used the ID 'target' for this purpose.
The script comes from W3Schools and is very well documented and commented, so it will be easy to set this up. You may of course let it count down to something else if you like, like when a new baby is due, time to retirement or any other event you might like to keep track of.
I have created it with Foundation, but it is not dependent on any particular framework. If you want to make a component of this, select the 'wrapper' container. And of course, don't forget the script!