Click in order · Vibe coding with Claude Code course · Module 12: Medium clone
Top from a copy of the list
Click the elements to build the Top list without changing the array from props:
Items to click
- )
- [...articles]
- (a, b) => b.claps - a.claps
- .sort(
You can check the correct answer by solving this task in the CodeWorlds game.