Put in order · Vibe coding with Claude Code course · Module 7: LinkedIn clone

Sorting: Liking a post

Arrange the steps of liking a post in LikeButton:

Items to put in order

  • The user clicks the Like button
  • The button gets the class text-blue-600 (highlight)
  • setLiked(!liked) changes the liked state

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