Web app that counts down to next January 1st. It selects automatically the next year (based on local system time). Background images are made with svg inline tags.
See a preview: https://patrickgold.github.io/newyear-countdown/
- Animated "Happy New Year" message.
- Clouds now move on the screen.
- Design & performance optimization.
- Now using BEM naming convention for better further development.
- Added "Fork me on GitHub" banner.
- Bugfix for users using Safari Browser:
On iOS Safari Browser, the following won't work:
var date = new Date("2018-01-01");
Instead you have to write the following:
var date = new Date("2018/01/01");
The new version of the Date() now includes a slash instead of a "-". This is now compatible to all of the major browsers.
Licensed under the MIT License.