GitHub Source Files
My Personalize Summary
The original project only created an output for the countdown timer.
But, I figured I'd make the project marginally better by at least displaying the day that was used for the countdown.
So, in the top of the page you'll see the fixed date that the timer is actually using.
You could probably make the project much better if you code up a way to actually have your user input the time and then recalculate the countdown timer each time.
I chose not to do this because I wanted to quickly get to the next project.
New Things Learned or Refreshed
This project was pretty basic.
You have to know how to use logic to use the language.
This project had to use a math equation to extract the days,
let days = Math.floor(distance / (1000 * 60 *60 * 24)); for example, because the days had to be calculated from difference in days in milliseconds.
Time to Code
This project took me about 30 minutes to complete on my own.
What To Accomplish
- Download the source code from the github repository above.
- Delete the contents of the
- Add a link to your finished project below!
What You Should See