How to start learning to code
- Pick a course above. If you have never written code, start with HTML Basics.
- Read the short explanation, then do the task in the editor beside it. The result shows as you type.
- Press Check My Code. Each step gets a tick when it is right, and hints are there if you are stuck.
- Finish every lesson in a course to unlock a certificate with your name on it.
Which course should I start with?
| Course | You will learn | Good first step if |
|---|---|---|
| HTML Basics 11 lessons | Build your first web pages: headings, links, pictures, lists, tables and forms. | You are completely new to code. |
| CSS Basics 11 lessons | Style your pages: colors, fonts, spacing, layouts with flexbox and designs that fit phones. | You know some HTML and want your pages to look good. |
| JavaScript Basics 13 lessons | Learn to program: variables, decisions, loops, functions, arrays, objects and interactive pages. | You want to make pages interactive or learn real programming. |
| Python Basics 12 lessons | A friendly first programming language: variables, decisions, loops, lists, functions and dictionaries. | You want a gentle start in programming, data or automation. |
| SQL Basics 9 lessons | Ask questions of a database: select, filter, sort, count, group and join tables. | You work with data, spreadsheets or reports. |
A common path for building websites is HTML, then CSS, then JavaScript. If you are more interested in data, automation or general programming, start with Python.
Learning by doing
Reading about code only gets you so far. You learn to program by typing code, getting it wrong, and fixing it. Every lesson here ends with a task you complete yourself, and each step of the task is checked the moment you ask. When a step is not right yet, you see which one, so you know where to look.
Private and safe by design
The code you type runs in a locked-down sandbox inside your own browser. It is never sent to a server, and it cannot reach the rest of the site or the internet. Your progress and your code are stored on your device only.
Practice freely in the playground
The Code Playground is an empty editor with a live preview and a console. Use it to try what you have learned, start from a template, or share a snippet with a friend.
Frequently asked questions
Is it really free?
Yes. All courses, lessons, checks and certificates are free, with no account and no limits.
Do I need to install anything?
No. The editor and everything that runs your code are part of the page. A current browser on a computer, tablet or phone is all you need. A keyboard makes typing code much easier.
I have never written code. Where do I start?
Start with HTML Basics. HTML is the simplest of the languages here, you see results right away, and it prepares you for CSS and JavaScript.
Where is my progress saved?
In your browser, on the device you are using. Nothing is uploaded. If you clear your browser data or switch devices, the progress does not come with you.
Is the certificate an official qualification?
No. It is a personal record that you completed every lesson of a course here. It is not accredited, but it is a nice way to mark and share what you have done.
Is it safe to run code on this page?
Yes. Code runs inside a sandbox in your own browser with no access to your files, your accounts, this site or the network.