Your First Code with AI

Write your first code with AI — no programming knowledge, no prior experience needed. Code isn't for programmers. Code is for people who want to achieve something specific. AI can be the translator.

Code Is Just Translated Thought

Imagine you have an idea: "I want a simple website where visitors can enter their name and get a personal greeting." That's a clear idea. You don't need to know how to write HTML. You only need to know what you want.

This is exactly where AI comes in. AI can translate thoughts into code. A programmer does that too — but it takes months of training. AI does it instantly, for free, and you don't even need to understand how it works.

Remember the previous lessons: K01 was text, K02 was music, K03 was images, K04 was video. In each case, you created something with AI that you couldn't have done as quickly or as well alone. Code is exactly the same — just a different language.

Your Task: Bring Something to Life

Open an AI tool of your choice — ChatGPT, Claude, or Gemini all work. Then write the AI a normal message. No jargon. Just English, like you'd talk to a friend.

For example:

I want to write a simple Python script that asks me for my name and then gives me a funny greeting. Nothing more.

Or:

Create me HTML code for a landing page. It should just have a heading, a short description, and a big button that says "Get Started." Make it look nice.

Or:

I need a script that converts my shopping list from handwriting into a neat table. Doesn't matter if it's Python or JavaScript, whatever's easier.

The AI will give you code. Code looks complicated at first — but that's just like a foreign language to someone who doesn't speak it. The structure is there, the logic is there, everything is neatly organized. You don't need to understand how every single line works.

What to Observe

The code is there. You've created something. Before we analyze it, notice three simple things:

1. Was it fast? A programmer would have needed hours. AI did it in seconds. This isn't magic — it's a tool that's very good at recognizing and following patterns. Surprising?

2. Does it look usable? The code is there, it looks structured, it has comments (explanations in English). You could copy it, paste it into a file, and run it. That's not nothing. That's the opposite of nothing.

3. Can you describe a change? Tell the AI: "Make the greeting even funnier" or "Use colors instead of black and white" or "Make it in German." The AI will modify the code. Don't be afraid of the next step — it's just communication.

A Thought: You Don't Need Programming Knowledge

Some people think before their first program: "But I'm not a programmer." That's like saying "But I'm not a writer" before your first text with AI in K01. The tool exists to help you. Not to confuse you.

You don't need to know how a car works inside to drive it. You don't need to know how a plane flies to become a pilot — but telling the pilot where you want to go is more than enough. Code works the same way. You don't need to be a programmer. You just need to be able to describe what you need.

Code is thought translated into machine language. AI can translate for you. You don't need knowledge for that — just a clear idea of what you want.

What Did AI Actually Write?