Put in order · Vibe coding with Claude Code course · Module 2: A Next.js project with Claude Code

Ordering: Typed variable in TypeScript

Arrange a typed string variable declaration in TypeScript (left to right):

Items to put in order

  • shipName
  • string
  • =
  • "Black Pearl"
  • const
  • :
Show the answer

Correct order:

  1. const
  2. shipName
  3. :
  4. string
  5. =
  6. "Black Pearl"