
Coding with AI: ChatGPT & Claude
Use ChatGPT and Claude as coding helpers the right way — write clear prompts, then read, test, fix and secure the code they give you. All in your browser. Needs basic Python (variables, lists, dicts, functions) — new to code? Start with Python Foundations.
1→2→3→4→5→6→7→8→9→10→11→12→13→14→15→16→
Lesson 1 — What AI assistants are good and bad at
basics · 5 min
Lesson 2 — Writing a clear coding prompt
basics · 6 min
Lesson 3 — Asking for small steps
easy · 7 min
Lesson 4 — Read AI code before you run it
easy · 7 min
Lesson 5 — Spot the bug: off-by-one
easy · 8 min
Lesson 6 — Spot the bug: the empty list
medium · 8 min
Lesson 7 — Catch a made-up function
medium · 9 min
Lesson 8 — Testing AI code with assert
medium · 10 min
Lesson 9 — Write the tests first, then ask
medium · 10 min
Lesson 10 — Explaining an error to the assistant
medium · 11 min
Lesson 11 — Refactor AI code for readability
hard · 11 min
Lesson 12 — Security: AI code that trusts input
hard · 12 min
Lesson 13 — Don't paste secrets: redact before you send
hard · 12 min
Lesson 14 — Comparing two AI answers with tests
hard · 12 min
Lesson 15 — Prompt templates as functions
hard · 11 min
Lesson 16 — Capstone: review an AI to-do app
very hard · 15 min