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

Structure of a component definition

Arrange the lines of a simple component definition:

Items to put in order

  • }
  • );
  • return (
  • <div>Hello!</div>
  • function WelcomeMessage() {

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