Put in order · Next.js course · Module 3: Styling and Visual Optimization

Order: 'use client' → import { useState } → ...

Arrange the elements in the correct order: 'use client' → import { useState } → function

Items to put in order

  • { }
  • 'use client'
  • import { useState }
  • function Component()

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