Lesson 509 of 1169
How to Ask AI Great Coding Questions
The better your question, the better the AI's coding help.
Explorers · AI-Assisted Coding · ~3 min read
The big idea
AI gives way better coding help when you ask clearly. Don't just say 'fix it' — say what the code is supposed to do, what it's doing wrong, and what you tried. That helps AI find the answer fast.
Some examples
- Bad: 'My code is broken.' Good: 'My loop runs 11 times instead of 10. Why?'
- Bad: 'Make a game.' Good: 'Make a Scratch game where a cat catches falling apples.'
- Bad: 'Help.' Good: 'I get an error that says \"the missing detail\" — what does that mean?'
- The clearer your question, the more useful the answer.
Try it!
Think of a recent question you asked someone — for school or a game. How could you ask it more clearly? Try rewriting it. Now you're a great question-asker!
Key terms in this lesson
Practice this safely
Try this with a low-stakes example and a trusted adult nearby. The goal is to notice how AI talks about prompting, not to let it make the decision for you.
- 1Ask AI to explain prompting in plain language, then underline anything that sounds uncertain or too broad.
- 2Give it one detail from "How to Ask AI Great Coding Questions" and ask for two possible next steps plus one reason each step might be wrong.
- 3Check asking questions against a trusted source, teacher, adult, expert, or original document before you use it.
End-of-lesson quiz
Check what stuck
8 questions · Score saves to your progress.
Lesson help
Questions are best handled with a grown-up here.
For this age range, Tendril keeps freeform AI chat paused until parent/guardian consent and child-safe moderation are fully verified. Use the quiz, notes, and related lessons below, or ask a parent, guardian, teacher, or librarian to work through the question with you.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Explorers · 5 min
AI Helping You Code: What Even Is That?
AI can help write computer code. You type what you want, AI writes the code. Here is what that looks like and why it is so cool.
Explorers · 5 min
AI Coders Make Mistakes Too: How to Spot Them
Just like AI can give wrong answers, AI can write buggy code. Here is what to watch for.
Explorers · 6 min
Make a Tiny Game With AI in 30 Minutes
AI can help you build a small game even if you have never coded before. Here is how to start with a simple project.
