Put in order · Vibe coding with Claude Code course · Module 7: LinkedIn clone

Sorting: Publication time in the header

Arrange in one line the time row from the FeedPostCard header: <p className="text-xs text-gray-500">{formatTimeAgo(post.createdAt)}</p>

Items to put in order

  • {formatTimeAgo(
  • <p className="text-xs text-gray-500">
  • </p>
  • )}
  • post.createdAt

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