Programming is how you give a computer instructions. A computer does not understand English, or intent, or "what you meant" — it only follows exact, unambiguous steps written in a language it can process. Programming is the skill of breaking a problem down into those steps.
Every app, website, and piece of software you use runs on code someone wrote. Learning to program lets you build tools instead of only using them — automate a repetitive task, build a website, analyze data, or make a game. It is also a way of thinking: breaking big, vague problems into small, precise ones is useful even outside a computer.
Here is a tiny complete program. Do not worry about understanding every word yet — every part of it is covered in the lessons that follow.
let name = "Ada";
let age = 28;
if (age >= 18) {
console.log(name + " is an adult.");
} else {
console.log(name + " is a minor.");
}This program stores two pieces of information (a name and an age), makes a decision based on the age, and prints a message. Storing information, making decisions, and repeating actions are the three ideas almost every program is built from.
Each lesson covers one building block — variables, data types, loops, functions, and so on — with runnable examples in JavaScript. The concepts themselves are not specific to JavaScript; once you understand what a "loop" or a "function" is, you can recognize the same idea in any programming language.
No setup required
You do not need to install anything to follow along. Every code example on this site can be edited and run directly in the page.