Question · Vibe coding with Claude Code course · Module 5: Reddit clone
Quiz: Filtering by community
How do you filter posts belonging to the selected community?
Answer options
- posts.map(post => post.community)
- posts.filter(post => post.community === selectedCommunity)
- posts.sort()
- posts.reduce()
You can check the correct answer by solving this task in the CodeWorlds game.