Skip to content

Learn to code

Code

Write real code and see it run — HTML, CSS, Python, Java, C, SQL, LaTeX, and Linux — with nothing to install.

19 coursesHTML/CSS · Python · Java · C · SQL · LaTeX · LinuxRuns in your browser
Foundations
Python Basics
Your very first steps in programming — no experience needed.
22 Lessons
JavaScript
The language of the web. Make things happen — runs right in your browser.
15 Lessons
C Programming
From printf to pointers, memory, and data structures — write in your browser and compile and run on our servers.
23 Lessons
Course overview and progress →
Web Basics — HTML & CSS
Start from zero. Short steps. Build a real web page.
21 Lessons
Exam courses
Python for IGCSE CS
Programming, algorithms, databases and logic for Cambridge IGCSE 0478.
14 Lessons
IGCSE CS Pseudocode
Write and run the pseudocode in the Cambridge IGCSE 0478 syllabus for 2026, 2027 and 2028.
19 Lessons
Python for A-Level CS
Data structures, algorithms, and OOP for Cambridge 9618.
15 Lessons
AS-level CS Pseudocode
Cambridge 9618 pseudocode, from basics to exam questions.
30 Lessons
Python for AP CS Principles
Big ideas of computing — data, algorithms, the Internet, and impact.
15 Lessons
Java for AP CS A
Java programming for the AP Computer Science A exam.
19 Lessons
Topics & tools
Databases & SQL
Query, design, and change relational databases — right in your browser, no setup.
17 Lessons
Linux & the command line
Drive a computer by typing. Practise real shell commands in a safe in-browser terminal.
14 Lessons
LaTeX
Typeset beautiful documents and maths — write LaTeX, compile on our servers, see the PDF.
14 Lessons
Cyber security
How attacks work and how to stop them — ciphers, hashing, and safe computing, hands-on.
16 Lessons

Practice

Practise programming and Cambridge pseudocode with challenges from 1★ to 5★. Choose a track.

Pseudocode practice

Choose your exam: IGCSE 0478 or AS 9618. Their notation differs.

01
Print a word
★☆☆☆☆
02
Print another word
★☆☆☆☆
03
Print a sentence
★☆☆☆☆
04
Print with a !
★☆☆☆☆
05
Print two lines
★☆☆☆☆
06
Print three lines
★☆☆☆☆
07
Print a number
★☆☆☆☆
08
Print a bigger number
★☆☆☆☆
09
Add two numbers
★☆☆☆☆
10
Add bigger numbers
★☆☆☆☆
11
Subtract
★☆☆☆☆
12
Multiply
★☆☆☆☆
13
Divide
★☆☆☆☆
14
Remainder
★☆☆☆☆
15
Use a variable
★☆☆☆☆
16
A number variable
★☆☆☆☆
17
Change a variable
★☆☆☆☆
18
Add two variables
★☆☆☆☆
19
Multiply two variables
★☆☆☆☆
20
Join two words
★☆☆☆☆
21
Greet a name
★☆☆☆☆
22
Repeat text
★☆☆☆☆
23
Ask for a name
★☆☆☆☆
24
Echo a number
★☆☆☆☆
105
Call a function
★☆☆☆☆
106
Use what it gives back
★☆☆☆☆
107
Finish the function
★☆☆☆☆
108
Write one yourself
★★☆☆☆
25
Your first function
★☆☆☆☆
26
Is it positive?
★☆☆☆☆
27
The bigger one
★☆☆☆☆
28
The last item
★☆☆☆☆
29
Is it even?
★☆☆☆☆
30
Sum a list
★☆☆☆☆
31
Reverse a string
★★☆☆☆
32
Count the vowels
★★☆☆☆
33
FizzBuzz
★★★☆☆
34
Letter frequencies
★★★☆☆
35
Remove duplicates
★★★☆☆
36
Second largest
★★★☆☆
37
Group anagrams
★★★★☆
38
Flatten a nested list
★★★★☆
39
RPN calculator
★★★★★
40
Run-length encoding
★★★★★
41
Count to ten
★★☆☆☆
42
Even numbers
★★☆☆☆
43
Liftoff
★★☆☆☆
44
Star triangle
★★☆☆☆
45
The 3 times table
★★☆☆☆
46
Running total
★★★☆☆
47
Largest without max
★★★☆☆
48
Smallest without min
★★★☆☆
49
Count the positives
★★☆☆☆
50
Average of a list
★★★☆☆
51
Add up 1 to 100
★★☆☆☆
52
Upside-down triangle
★★☆☆☆
53
FizzBuzz with 4 and 6
★★★☆☆
54
Until you type stop
★★★☆☆
55
A list of squares
★★☆☆☆
56
Count a value
★★☆☆☆
57
Keep the evens
★★☆☆☆
58
Find the position
★★★☆☆
59
Smallest and largest
★★★☆☆
60
Above average
★★★☆☆
61
Binary to denary
★★★★☆
62
Denary to binary
★★★★☆
63
Digital root
★★★★☆
64
Caesar cipher
★★★★☆
65
Bank account
★★★★☆
66
Transpose a grid
★★★★☆
67
Most common word
★★★★★
68
Sieve of Eratosthenes
★★★★★
69
A row of Pascal's triangle
★★★★★
70
Tic-tac-toe winner
★★★★★
71
Is it big?
★☆☆☆☆
72
Pass or fail
★☆☆☆☆
73
Positive, negative or zero
★☆☆☆☆
74
The bigger number
★☆☆☆☆
75
Even or odd
★☆☆☆☆
76
Is it in range?
★★☆☆☆
77
Free entry
★★☆☆☆
78
Grade letter
★★☆☆☆
79
Divisible by both
★★☆☆☆
80
Ticket price
★★☆☆☆
81
Finish the countdown
★☆☆☆☆
82
The loop that never ends
★☆☆☆☆
83
Count up to five
★☆☆☆☆
84
Add up to five
★☆☆☆☆
85
Double until it passes 100
★★☆☆☆
86
Stop at the first over fifty
★★☆☆☆
87
Count down in twos
★★☆☆☆
88
Until they type stop
★★☆☆☆
89
How many halvings?
★★☆☆☆
90
A row of the times table
★★☆☆☆
91
The first letter
★☆☆☆☆
92
The last letter
★☆☆☆☆
93
The first three letters
★☆☆☆☆
94
How long is it?
★☆☆☆☆
95
Shout it
★☆☆☆☆
96
Initials
★★☆☆☆
97
Ask for a name
★☆☆☆☆
98
Ask for two things
★☆☆☆☆
99
A number from input
★☆☆☆☆
100
Add two numbers you were given
★★☆☆☆
101
Each letter on its own line
★☆☆☆☆
102
Zero to four
★☆☆☆☆
103
Count the letters
★☆☆☆☆
104
Add up one to five
★☆☆☆☆
All courses, one page each

Log in or create account

IGCSE, A-Level & AP