Free Lesson

What Is Coding?

Coding is writing step-by-step instructions, in a language such as Python or JavaScript, that tell a computer exactly what to do. Every app, website and video game is built from code.

Computers are fast but literal: they follow your steps in order, even when the steps are wrong. Try it yourself below by programming a robot, then see which language to learn first.

Interactive demo

Coding demo

Give the robot instructions

Coding is giving a computer exact steps. Add up to 8 blocks to get the robot from the top-left square to the star, then press Run. Your blocks turn into real Python and JavaScript on the right.

Your program (0 of 8 steps)

No steps yet. Add a block to start.

Press Run to test your program.

robot.py (Python)

# Add steps to see the Python version

robot.js (JavaScript)

// Add steps to see the JavaScript version

Is coding hard to learn for you? 5-question self-check

Answer five quick questions to get a suggested first step. There are no wrong answers.

  1. What do you want to make first?
  2. Who is learning?
  3. How comfortable are you typing on a keyboard?
  4. How much time can you practice each week?
  5. When something breaks, you usually...

0 of 5 answered. Your suggested first step appears here.

Quick coding quiz

Five questions on what coding is.

  1. What is coding?
  2. What happens if you put the steps in the wrong order?
  3. Which language makes web pages interactive?
  4. What is a bug?
  5. Do you need to be good at math to start coding?

Languages map

Which coding language does what?

There are hundreds of programming languages, but a handful cover most of what beginners want to build.

HTML and CSS

Build and style web pages

Example: The headings, buttons and colors on this page

What is HTML? →

Python

Data, AI, automation and first lessons

Example: Machine learning models and handy scripts

What is Python? →

SQL

Ask questions of databases

Example: Finding every order from last week

What is SQL? →

Java and Kotlin

Android apps and big back ends

Example: Minecraft: Java Edition, banking systems

What is Java? →

Swift

iPhone, iPad and Mac apps

Example: Apps in the Apple App Store

Common question

Coding vs programming

Coding vs programming comparison
CodingProgramming
MeaningWriting instructions in a programming languagePlanning, writing, testing and fixing a whole program
ScopeOne part of the jobThe whole job, from idea to working software
ExampleTyping print("Hello") in PythonDesigning, building and testing a to-do list app
In everyday talkUsed to mean the same thingUsed to mean the same thing

Get started

How can I start coding?

  1. 1. Pick one goal

    Choose one thing to make, like a web page, a game or a script. A clear goal tells you which language to learn first.

  2. 2. Try blocks or a playground

    Solve a few block puzzles or type code in a free online playground, so you need nothing installed on day one.

  3. 3. Learn the core ideas

    Practice variables, if/else decisions, loops and functions. They appear in every language you will ever use.

  4. 4. Build a tiny project

    Make something small that you care about, such as a quiz, a calculator or a one-page website, and fix bugs as you go.

  5. 5. Keep a streak

    Code a little most days. Twenty minutes a day beats one long session a week.

Learning to code with AI?

Code Card turns your Claude Code, Codex, and OpenClaw sessions into a public developer profile with activity graphs, streaks, badges, and a shareable card, so you can see your coding habit grow. Start with npx code-card.

Make your Code Card

FAQ

Coding questions, answered

What is coding in simple terms?

Coding is writing instructions that tell a computer what to do, step by step, in a language it understands, such as Python or JavaScript. Apps, websites and games are all made of code.

What is an example of coding?

Typing print("Hello, World!") in Python is coding: it tells the computer to show the words Hello, World! on the screen. Making a button change color when clicked with JavaScript is another example.

Is coding hard to learn?

Coding is a skill like learning an instrument: the basics take a few weeks and mastery takes years. Starting with blocks or a beginner-friendly language like Python, and practicing a little each day, makes it much easier.

How can I start coding?

Pick one thing you want to make, try a free block-based course or an online code playground, learn variables, decisions, loops and functions, then build a tiny project. No paid tools are needed to begin.

What is the difference between coding and programming?

Coding is writing the instructions. Programming is the bigger job of planning, writing, testing and fixing a whole program. In everyday talk, people use the two words to mean the same thing.