All challenges
UI · Frontend challenge· Frontend UI

Like Button

easy
15m
#ui#react#frontend#state#events

Build a Like Button.

Requirements

  • Clicking toggles between liked / not-liked.
  • Show the like count, and the heart filled (♥) when liked, outline (♡) when not.