Question · Vibe coding with Claude Code course · Module 5: Reddit clone
Quiz: Several words in searchPosts
What will searchPosts from the lesson return for the phrase "skull map", when one of the posts has the title "A map with a cross on Skull Island"?
Answer options
- An empty list, because the words are in a different order than in the title
- An error, because the phrase contains a space
- That post, because every word of the phrase appears in the title or body, in any order
- All posts, because the phrase has more than one word
You can check the correct answer by solving this task in the CodeWorlds game.