Click in order · Vibe coding with Claude Code course · Module 10: TikTok clone
Choosing a layout on click
Build the click handler of a duet layout button (click in order):
Items to click
- () =>
- setLayout(value)
- }
- onClick={
You can check the correct answer by solving this task in the CodeWorlds game.