codex-lv3-may-2025

Level Navigation: 1 2 3 4 5 6 7 8 9 10⚡ 11⚡ 12⚡ 13⚡ 14⚡ 15 16 17 18⚡ 19 20

Level 11: Random Story Access ⚡ CHALLENGE LEVEL

User Story: As a user, I want to discover random Mad Libs stories from my collection so that I can be surprised by stories I’ve forgotten about.

What You’ll Do

Create a route to display a random story from the stored stories.

Instructions

💡 Code Hints

Need help with random selection? Check out these snippets:

✅ Check

  1. Add 3 dummy stories to your array for testing
  2. Navigate to /random route
  3. You should see a random story displayed
  4. Refresh the page to see different random stories
  5. If no random story appears, check your random selection logic