Put in order · Vibe coding with Claude Code course · Module 5: Reddit clone

Sorting: The new vote in applyVote

Arrange the line that sets the new vote in applyVote (one line, left to right):

Items to put in order

  • const nextVote: Vote
  • clicked
  • post.userVote === clicked
  • null
  • ?
  • :
  • =

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