Put in order · Vibe coding with Claude Code course · Module 3: Twitter clone

Time from an ISO string

Arrange the tokens that turn the saved createdAt text into a time to display:

Items to put in order

  • new
  • Date(post.createdAt)
  • "en-US"
  • .toLocaleTimeString(
  • )

You can check the correct answer by solving this task in the CodeWorlds game.