A girl and a robot thinking together

Think Together · Start with a Short Story

The girl wants to make a points button. First, she states the rule herself: “Each click adds 1 point.” AI helps turn that rule into code.

Lay Out the Process

Follow the numbered steps, then explain them in your own words
  1. Describe the ruleAdd 1 each time
  2. Read the codeVariables and events
  3. Run a small example0, 1, 2
  4. Change and checkDoes it behave as expected?

AI can explain and write code, but people still need to understand its key logic and check the results.

Start with the smallest feature that can run, then add styling and other behavior. If you see unfamiliar code, ask the model why it is there, then confirm by running it.

Keep the version from before your changes so you can compare and restore it.

Now You Try

The button adds 2 points per click. The code has no errors. Is the task complete?

Ready? Open this to see the explanation

No. The rule says to add 1. A small test with several clicks can show that the behavior does not match.

One Idea to Take Away

AI can explain and write code, but people still need to understand its key logic and check the results.

Try covering the diagram above and explaining each step to someone in your family. If one step is hard to explain, return to that card and look again.