TypeScript
Your course
0 / 24
Lessons completed
0 / 63
Exercises done

Learn TypeScript

Small steps. Real code.

Unit 1

Make something happen

Show a message. Keep a score. Do the maths.

Make the computer say something
Give a number a name
Do some maths

Unit 2

Work with your data

Put text together and ask questions about numbers.

Put text together
Keep several numbers in an array
Ask a yes-or-no question

Unit 3

Let the code do the repeating

Make choices, then watch loops work.

Make a choice with if
Repeat with a for loop
Count with a for loop

Unit 4

Build it yourself

Make your own instructions and a study tracker.

Repeat until it is time to stop
Make your own instruction
Build a study tracker

Unit 5

Look things up

Count with a dictionary, get answers back from functions, and shape text.

Count things with a lookup table
Get an answer back from a function
Clean up and reshape text

Unit 6

Shape your data

Lists that grow, records with named parts, and loops that search.

Grow, search and sort a list
Describe a thing with named parts
Search and compare inside a loop

Unit 7

Programs that cope

Handle surprises, then build a program that uses it all.

Accept more than one kind of value
Stop safely when something goes wrong
Build a shop receipt

Unit 8

Organise bigger programs

Classes, modules and a project that ties the course together.

Make things that keep their own data
Group code that belongs together
Build a small library system

Sign in to save future lessons.

About saving progress

Without an account, your work lasts until you reload the page. Signing in starts saved progress; work from before signing in is not carried over.