Coding · Learn to Code

Build Your First Small Coding Project Step by Step

Make a real mini app, like a quiz or a tip calculator, with guidance one small step at a time.

Prompt Code output

I want to build my first small project to learn by doing. My idea is: [PROJECT_IDEA]. I would like to use [LANGUAGE], and I know [WHAT_I_KNOW]. Please break the project into small steps, each one adding a single feature I can test. Show me only step one now, with the code, an explanation in simple words, where to type it and how to run it. Wait for me to say it works before moving on. If something breaks, help me understand why instead of just replacing everything. At the end, suggest one or two extra features I could try to add on my own.

Fill in the brackets

[PROJECT_IDEA]
e.g. a quiz about my country, a restaurant tip calculator, a to-do list
[LANGUAGE]
e.g. Python, or HTML and JavaScript for a web page
[WHAT_I_KNOW]
e.g. nothing yet, the very basics from a short online course

How to use

  1. Copy the prompt.
  2. Replace the text inside [BRACKETS] with your own details.
  3. Paste it into ChatGPT or another AI assistant.
  4. Read the result and ask for changes if needed.

Tip: Type the code yourself instead of copying it; you will remember much more.