Question · Vibe coding with Claude Code course · Module 13: Twitch clone

Quiz: tags in a message

A viewer sends the text <b>ahoy</b> in the chat. What will the LiveChat from the lesson show?

Answer options

  • The text <b>ahoy</b> as plain text, because the parts go into <span>{part.text}</span>
  • The word ahoy in bold
  • An empty message, because React strips tags from text
  • A render error, because the text contains an angle bracket

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