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 10: Data Storage in Memory ⚡ CHALLENGE LEVEL

Note: Levels 10 and beyond are challenge levels that extend the basic Mad Libs functionality. These are optional but recommended for a more complete learning experience.

User Story: As a user, I want to save my completed Mad Libs stories so that I can read them again later and share them with friends.

What You’ll Do

Store completed stories in an in-memory array for later access.

Instructions

💡 Code Hints

Need help with arrays? Check out these snippets:

✅ Check

  1. Create and submit multiple stories
  2. Check your server console to see console.log(stories) output
  3. Verify the array grows with each submission
  4. If stories aren’t stored, check your array operations and console output