Click in order · Next.js course · Module 1: Next.js Configuration

JSX Structure with div and h1

Arrange the correct JSX structure with a div element and an h1 heading

Items to click

  • Hello World
  • </div>
  • <h1>
  • <div>
  • </h1>
Show the answer

Correct order:

  1. <div>
  2. <h1>
  3. Hello World
  4. </h1>
  5. </div>