learn to
code

Free lessons in plain English, from your very first line to your own website. Try one right now, no account needed.

34 courses937 lessons25 quick checks£0, for good

hello.pyyour first program
""
print("Hello, " + name + "!")
type your name, then run itenter

output

Type your name between the quotes first.



all of this, free.

No trial, no card, no paid tier. This is what you get the moment you start.

short lessons, real code

About 10 minutes each, with code you can run on the same page.

a quick check every lesson

25 of them, each with the reason the answer is right.

progress that follows you

Every lesson you finish, saved across every language.

build a real site

Describe it, edit it live, download it as a zip.

24 parts to take apart

Buttons, menus, forms and more, with the code explained.

mistakes welcome.

This code has a typo in it on purpose. Run it and watch what Gwecode does with the error.

errors.py
message = "Errors are normal."
print(mesage)

Press run to see what happens.

it has a face.

Six faces tell you what is going on while you learn. You will know them all by your second lesson.

12 ways in.

see every course

Python and JavaScript run right on the page. 6 more languages are on the way, including C++, C, Rust.

your page in 15 hours.

  1. 89 minutes First, Start Here: what code is and how a computer follows it.
  2. 207 minutes Then Python, the first language you run on the page.
  3. 337 minutes Next, HTML for the bones of your own page.
  4. 252 minutes After that, CSS for its colour, type and layout.
previewindex.html
Saturday Bakesmenu · order · find us

fresh every saturday.

Order by Friday noon, collect from the market stall.

  • Sourdough loaf£4.50
  • Cinnamon bun£2.80
  • Lemon slice£2.20

build a real site.

Tell Gwecode what you want to make. It suggests the languages worth learning for it and hands you a starter you edit with a live preview.

Name it.

Pick a starting point.

Make it yours.

Take it with you.

Download the whole site as a zip and host it anywhere. It is your code, not ours.

start building

keep your
progress

  • Remembers every lesson you finish
  • Keeps your sites, ready to download
  • Keeps every quick check you answer
  • Free for good. No card, no trial

create your free account

Already learning here? Sign in

good questions.

Is it really free?

Yes. Every course, every lesson, the quick checks and the site builder are free. There is no trial, no card and no paid tier.

Do I need to install anything?

No. Lessons, quick checks and the code runner all work in your browser.

I have never written code. Where do I start?

Start Here: short lessons on what code is and how a computer follows it. Then Python or JavaScript, the two you can run on the page.

Do I need an account?

Not to learn: every lesson is open. A free account remembers what you have finished and keeps your sites.

Where does my code run?

In a sandbox inside your own browser tab. It never runs on our servers and it cannot reach your account.

Which programming language should I learn first?

For websites, start with HTML and CSS, then JavaScript. For data or automating chores, start with Python. Not sure yet? Do Start Here, then Python.

How long does it take to learn to code?

You write your first working program in your first lesson. Our path to your own web page is about 15 hours of lessons. Getting good enough for a job takes much longer: usually months of regular practice.

Is Gwecode good for complete beginners?

Yes, that is who Level 1 is for. Nothing is assumed, and every new word is explained the moment it appears.