Learn · Learn AI · Intermediate · 10 min

Build a tiny web toy

Use ChatGPT to make a small interactive thing you can test in a browser.

Small projects teach more than giant ambitions. Make one clear promise, test it in the real world, and improve from what happened.

Illustration for Build a tiny web toy.

In plain English

A tiny web toy is a perfect first computer project because the promise can fit in one sentence. The point is not to become a professional programmer in one afternoon. The point is to make one interaction work and learn how to test it.

See it in action

“When I click the button, a random animal fact appears” is a small promise. “Build a full social network” is not a first version.

Try it now

Ask ChatGPT for one HTML file, save it, open it in a browser, and try to break it. Write down the first confusing moment instead of immediately asking for ten features.

Watch out for this

Never trust generated code because it looks impressive. Run it, read it, and keep copies of versions that worked.

What good looks like

Testing is part of building. Click every button, try an empty input, use a very long answer, and ask someone else to use it without instructions. Write down what happens instead of fixing everything at once.

Your small assignment

Give version one a name and date. When version two works better, you will be able to explain what you changed and why.

Copy-paste prompt

Create one self-contained HTML file for a tiny [game/tool]. The user should be able to [interaction]. Keep it simple. After the code, list three browser tests.

Knowledge check

What makes a good first web toy?

  • One clear interaction that a person can test
  • A large codebase with many features
  • A promise that needs a whole team
Show the answer

One clear interaction that a person can test