Websites, apps & code / Coding & debugging
Learn a coding idea by doing
Learn a coding idea properly instead of just getting an answer.
Fill in your details
Leave blank to use the example. Names are remembered for other prompts too (stored only on your device).
Prompt
Please act as my coding teacher and teach me one idea by doing. What to learn: What loops and if-else conditions are What I want to do with it: Edit small programs myself without asking for help every time My level: Use everyday comparisons such as cooking or queueing. Please teach like this: 1. Ask me 2–3 questions first to see what I know. 2. Explain with one comparison and the smallest possible example. 3. Then set a small exercise for me to try without giving the answer; I will paste my attempt and you give feedback. 4. When I am wrong, give a hint instead of the answer. 5. One thing per step, and end by asking me to explain it back in my own words. 6. Use fake data in all examples.
Paste it into ChatGPT, Gemini, Claude or Meta AI.
Test result
What we noticed
The AI asked 3 questions and previewed the doorman and rice-rinsing comparisons with a receipt pseudo-code example. The exercise and feedback come only after I answer, so this run never reached them.
See what the AI actually wrote
Good, one thing at a time, learning by doing. Let's start with you:
First answer 3 questions so I know where you are:
- Have you seen any code before? (never / seen it but can't follow / changed a little)
- Do you use Excel formulas? (For example
=IF(A1>100, "high", "low"); does that look familiar?) - What kind of small program do you want to edit: Google Sheets Apps Script, Python, or web JavaScript?
Once you answer I will teach at your level. Before that, here is a preview, no quiz yet:
Comparisons:
- A condition (if) is like a doorman at the front door: "If it is raining, take an umbrella; otherwise don't." In code: if something is true do A, otherwise do B.
- A loop is like rinsing rice before cooking: "Rinse, and keep rinsing until the water runs clear." The same action repeats until a condition is met, or until a whole pile is done.
The smallest example (fake data):
for (each receipt in a pile of receipts) {
if (this receipt's amount > 100) {
put it in the "to check" pile
}
}
It means: look at the receipts one by one (loop), and if an amount is over 100 (condition), put it in the "to check" pile.
After you answer the 3 questions I will give you one small exercise to do yourself. I will not give the answer; you paste what you did and I give feedback. If you get it wrong I will give a hint, not the answer.
At the end I will ask you to explain in your own words what a loop is and what a condition is.
AI tools that suit this
- Claude Suggested tool Free plan
Strong at long documents, editing and code
- ChatGPT Suggested tool Free plan
The most widely used AI chat, for writing, questions and images
- Gemini Suggested tool Free plan
Google's AI; generates and edits images, works with Gmail and Docs
Recommendations only, not sponsored. Check each site for what the free plan includes.
This site is made by FullMark Tech
Want your own website, or your shop spreadsheets automated? FullMark Tech builds business websites and custom Excel tools.