GoConqr has a new look! Let us know what you think.

Module 10 of 11 · Media

Countdown to Christmas

Kostas Diakogiannis

Countdown to Christmas

D-5 Countdown to Christmas

Create a function that calculates exactly how many milliseconds is the current Date away from Christmas Date ("Dec 25 2019"). You can subtract these days and you will get the difference in milliseconds. 

Then find a way to format this result to human readable like ('8 months, 27 days, 10 hours, 45 minutes and 35 seconds').

Extra bonus: Update this every second by calling this function within a setInterval. 

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?