Click in order · Next.js course · Module 2: Routing and Layouts

Metadata Object Declaration

Arrange the metadata object declaration syntax in Next.js

Items to click

  • export
  • 'My Page'
  • metadata
  • =
  • }
  • {
  • title:
  • const
Show the answer

Correct order:

  1. export
  2. const
  3. metadata
  4. =
  5. {
  6. title:
  7. 'My Page'
  8. }