codex-lv2-may-2025

Level Navigation: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Current Level: 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


🧪 Level 16: Proof-of-Life Test

What You’ll Do

Test your AI connection with different prompts.

Instructions

Change the sample input to something like Teach me how to make scrambled eggs. Run it. Then try a few different prompts (short, long, emoji). Celebrate this milestone!

💡 Code Hints

Testing your API? You’ll need to call your function and check the console for responses. Check out the Functions section in SNIPPETS.md for how to invoke functions and the Console Logging section for checking responses.

✅ Check

  1. Open your webpage in a browser
  2. Open Chrome DevTools (F12) and go to the Console tab
  3. Type sendToModel() and press Enter
  4. You should see a detailed AI response about scrambled eggs (or your chosen topic)
  5. Try changing the prompt in your code and running it again
  6. Test with different types of prompts:
    • Short: “Hi”
    • Long: “Explain quantum physics”
    • With emoji: “How are you? 😊”
  7. Each should give you a different, relevant response from the AI

Next: Level 19 - Inspect Response



Level Navigation: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Current Level: 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32