Weak prompt
Make me a website.
Which kind? What language? What should be on it? The AI has to guess, and you will not learn anything from the result.
Learn how code works, understand the tools, and write your first lines of code.
Lesson 1
Programming is giving a computer precise instructions so it can do a task. A computer is fast, but it has no common sense. It only does exactly what it is told, in the order it is told.
Think of a recipe. "Make a sandwich" is not enough for a computer. It needs every step: take two slices of bread, spread butter on one slice, add cheese, put the slices together. Those written steps are code, and the language they are written in is a programming language.
show("Hello!")step by stepHello!If the instructions are wrong or unclear, the output is wrong. Fixing that is called debugging, and you will do plenty of it.
Lesson 2
Almost every website is built from three languages that work together. Pick a tab to see what each one adds to the same small page.
HTML says what is on the page: headings, paragraphs, buttons, lists. It is the skeleton. Without CSS it looks plain, but all the content is there.
Welcome to my page.
Lesson 3
This is a complete HTML page. Read it first, then press Run Example to see what it makes.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My First Page</title>
</head>
<body>
<h1>Hello, world!</h1>
<p>I am learning to code.</p>
</body>
</html>
Lesson 4
An AI assistant can write code, explain it, and help you find bugs. It can also be confidently wrong. Use it like a tutor, not like a vending machine.
Make me a website.
Which kind? What language? What should be on it? The AI has to guess, and you will not learn anything from the result.
Write an HTML page with a heading that says "My Hobbies" and a list of three hobbies. Use plain HTML only. After the code, explain what each tag does in simple words.
It states the language, the content, the limits, and asks for an explanation, so you get code you can read and check.
Knowledge check
Mini project
Make a simple personal page. Edit the starter code below, replacing each ... with your own words, then press Preview my page. The checklist ticks itself as your page meets each goal.
Example
<h1>Hi, I'm Sam</h1>
<p>I'm 14 and I love building things.</p>
<ul>
<li>Football</li>
<li>Drawing</li>
</ul>
Want to keep it? Copy your code into a file named mypage.html on your computer and open it in your browser.
Done reading, trying, and testing? Mark the lesson complete. Your progress is saved in this browser only.
Lesson complete. Nice work. You wrote real HTML and learned how to check AI output.