GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 10 von 11 · Medien

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. 

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck