Question · Vibe coding with Claude Code course · Module 8: Slack clone

Quiz: Number of unread

How does NotificationCenter count unread notifications?

Answer options

  • notifications.filter((n) => !n.readAt).length
  • notifications.length
  • notifications.filter((n) => n.readAt).length
  • members.length

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