Free. 9 languages. Works on your phone.

Learn to code from zero, right in your browser.

Short lessons, a real code editor beside them, and instant feedback when you press Check. HTML and CSS, JavaScript, Python, SQL, TypeScript, Lua, Ruby, PHP and R, from complete beginner to expert.

Start the first lesson

Tracks

HTML & CSS · 14 lessons · Beginner to expert

HTML & CSS: build real web pages

From your first tag to flexbox, grid, responsive layouts and CSS variables. No experience needed, just a browser.

JavaScript · 14 lessons · Beginner to expert

JavaScript: from first line to expert

The language of the web. Start with printing a message and work up to closures, classes, async code and real algorithms.

Python 3.14 · 14 lessons · Beginner to expert

Python: from first line to expert

The friendliest first language. Print, decide, repeat, and build up to classes, generators and decorators, all in your browser.

SQLite · 12 lessons · Beginner to expert

SQL: ask questions of data

The language behind almost every app. Query a real SQLite database in your browser, from SELECT to joins, grouping and window functions.

TypeScript 5.9 · 11 lessons · Intermediate to expert

TypeScript: JavaScript with types

Catch mistakes before your code runs. Types, interfaces, generics, narrowing and the advanced types used in large apps.

Lua 5.4 · 8 lessons · Beginner to advanced

Lua: small, fast, everywhere

The simple scripting language inside games, editors and devices. Variables, loops, tables and metatables.

Ruby 3.4 · 8 lessons · Beginner to advanced

Ruby: a language made for happiness

Readable, expressive code. Strings, collections, blocks, classes and modules, the Ruby way.

PHP 8.4 · 8 lessons · Beginner to advanced

PHP: the language of the server-side web

The language behind a huge share of the web. Variables, arrays, functions, classes and interfaces in modern PHP 8.

R 4.5 · 8 lessons · Beginner to advanced

R: data and statistics

The language of data analysis. Vectors, data frames, functions and the statistics every analyst uses.

Coming later

Java

Classes, collections and the JVM. Needs a server to compile code, so it comes after the browser tracks.

Coming later

C and C++

How computers really work, memory and all. Needs a server to compile code.

Coming later

Go

Simple, fast services and tools. Needs a server to compile code.

Interview practice Premium

Weekly challenges

One puzzle is featured each week, free for everyone. Solve the week's challenge for bonus XP, and climb the leaderboard. You can try the others any time.

How it works

  1. Read a short lesson. One idea at a time, in plain words, with examples.
  2. Write the code yourself. The editor sits next to the lesson, and the result appears as you type.
  3. Press Check. You see straight away what works, with a hint for anything that does not yet.

Your progress is saved on this device as you go. Create a free account to keep it on every device, and to earn XP, daily streaks, badges and a certificate for every track you finish.

Want someone in your corner?

Bytepic runs training and mentoring for new developers and teams. If you want help with what to learn next, or a mentor to check your work, get in touch.

Ask for a mentor