Member-only story

NewYear Countdown with Javascript

YvonneDev
2 min readDec 31, 2020

--

course from Brad Traversy

Github code

Features:

dynamic new year

with 1 second loader

cal the difference between new year and current

HTML

the year is a dynamic new year display

the countdown includes the days, minutes, hours, and seconds

loader image shows when page loads

CSS

add the background overlay with ::after

and all the other upper layer

First, hide the countdown to show the loader

--

--

YvonneDev
YvonneDev

Written by YvonneDev

❤️Front-end Web Development self-taught *share what I learned*

No responses yet