Question · Vibe coding with Claude Code course · Module 3: Twitter clone

What a component returns

What does a React component return?

Answer options

  • JSX that describes the UI
  • A CSS file
  • A database query
  • An object with data, e.g. { name: 'Redbeard' }

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