Course Project Step: A World Clock

Build a world clock for three cities that matter to you. Each city gets a card with its name, the time as HH:MM:SS, the date in words and the zone's short name, all from Intl.DateTimeFormat. Store the cities as an array of objects with a name and a time zone, draw one card per city from that array, and update every card four times a second with setInterval. Add a fourth city to the array and its card should appear without touching the HTML.

YOUR TURN · WEB PAGE
Your turn → Work through it step by step. This is a piece of the course project, not a throwaway exercise.
loading editor…

Syntax has to be exact. Every quote, bracket, brace and parenthesis needs its partner, and every HTML tag you open needs closing. One slip and the script won't run; the message under the page will say where.

Built it in both languages?

Mark it done once your Python and JavaScript versions both run correctly. Honesty here is what makes the dashboard useful to you.

← BackNext: Module 29: Feedback: Messages and Sound →