Learn to code by watching it move
Free visual lessons that teach programming from zero. Watch each idea move, change it, then read it in the language you choose.
How computers think
- A program is a list of steps
- Computers do exactly what you say
- In, think, out
- Boxes with names
- Everything is switches
- Letters are numbers too
- Pictures are numbers too
- From your words to the chip
Programming basics
- Values and their types
- Variables
- Doing maths
- Working with text
- True and false
- If and else
- Chains of choices
- While loops
- For loops
- Lists
- Find the biggest number
- Functions
- Giving and getting back values
- Dictionaries: look things up by name
- Reading errors and fixing bugs
- Your first program: a quiz game
Data structures
- Arrays and memory
- Arrays that grow
- Linked lists
- Stacks
- Queues
- Hash tables
- Sets
- Trees
- Binary search trees
- Heaps and priority queues
- Tries
- Graphs
- Grids and matrices
- Strings inside out
- Big-O: measuring speed
- Choosing the right structure
Algorithms
- Linear search
- Binary search
- Bubble sort
- Selection and insertion sort
- Merge sort
- Quick sort
- Recursion
- Two pointers
- Sliding window
- Breadth-first search
- Depth-first search
- Shortest paths
- Greedy choices
- Dynamic programming: remember answers
- Dynamic programming: fill a table
- Backtracking
- Bit tricks
- How to attack a new problem
How software is built
- How the internet works
- HTML: the skeleton of a page
- CSS: making it look good
- JavaScript in the page
- Front end and back end
- APIs and JSON
- Build a small API
- Databases and tables
- SQL: asking questions of data
- Joining tables
- NoSQL and when to use it
- Logins, passwords and tokens
- Git and GitHub
- Testing your code
- Objects and classes
- Design patterns you will meet
- Mobile apps
- Desktop apps
- Command-line tools
- Cloud, containers and shipping
Advanced programming
- Keeping data safe inside objects
- Inheritance
- Polymorphism
- Abstract classes and interfaces
- Composition: has-a instead of is-a
- Generics: one code, many types
- Static and dynamic types
- Errors and exceptions
- Functions as values and closures
- Map, filter and reduce
- Iterators and generators
- Values, references and copies
- Stack, heap and garbage collection
- Mutable and immutable data
- Modules, packages and dependencies
- Regular expressions
- Doing two things at once
- Race conditions and locks
- Async and await
- SOLID: five rules for clean design
- Dependency injection
- Build a plugin system, end to end
System design
- Latency and throughput
- Scaling up and scaling out
- Load balancers
- Caching
- Database indexes
- Replication
- Sharding
- Queues and background jobs
- Microservices
- Content delivery networks
- Rate limiting
- Consistency and its trade-offs
- Monitoring and logs
- Design a link shortener, end to end
Machine learning: one neuron to deep learning
- What learning from data means
- One neuron
- Weights, bias and activation
- Loss: measuring how wrong
- Gradient descent
- Linear regression
- Classification
- Overfitting and testing
- A network of neurons
- Backpropagation
- Networks for images
- Networks for sequences
- Embeddings: meaning as numbers
- Attention
- Transformers
- Train a tiny model in your browser
LLMs, RAG and agentic AI
- What a large language model is
- Tokens
- How text gets generated
- Prompts that work
- Context windows
- Embeddings and vector search
- RAG: answers from your documents
- Chunking and retrieval quality
- Tool calling
- Agents: think, act, observe
- Planning and memory
- Teams of agents
- Testing and guardrails
- Build an agent, end to end