Command Palette

Search for a command to run...

Hectal
Phase 0: Start Here: Why React
React · Exercise 1 of 5Next
Beginner

Hello, React!

Change the App component so the page shows a main heading (<h1>) that says exactly Hello, React! and, under it, a paragraph (<p>) with one sentence about you.

Keep the last line: it renders App into the root.

What Check tests

  1. React rendered exactly one <h1> inside the root
  2. The heading says Hello, React!
  3. A paragraph with a sentence comes after the heading
  4. The app is still started with createRoot

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.

Console

Nothing logged yet.