codex-lv2-may-2025

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


đź§Ş Level 5: Overall Project Check

What You’ll Do

Verify everything is working correctly with both live-server and git.

Instructions

Run comprehensive tests to ensure your project setup is complete and secure.

âś… Check

  1. Live Server Test:
    • Run npx live-server in your project folder
    • Open your browser and navigate to the live-server URL
    • You should see “Chatbot” as a large heading (H1)
    • Open Chrome DevTools (F12) and check the Console tab
    • Look for any red error messages - if there are none, you’re good to go!
  2. Git Status Check:
    • Run git status - you should see “On branch main” and “nothing to commit, working tree clean”
    • Run git log --oneline - you should see your commit message
  3. Security Check:
    • Go to your GitHub repository in a web browser
    • Look through the files - you should NOT see secret-variables.js listed
    • If you see it, check your .gitignore file includes secret-variables.js
    • If you do accidentally commit your secret-variables.js, GitHub will not allow you to upload it. Ask for help on how to remove it from your git history.

Check off these items in your README:

🎉 Congratulations!

You’ve set up your project foundation securely. Time to build the UI!


Next: Level 6 - UI & DOM Wiring



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