Illustration for Coding Concepts

Coding Concepts

What Is Coding?

Coding is a way to tell computers what to do.
Think of it like giving step‑by‑step instructions to a robot.
When you write code, you use a special language that the computer understands.
These languages have words and symbols that look different from everyday English, but the idea is the same: clear, simple directions.

The Basic Building Blocks

Commands

A command tells the computer to perform one action.
Examples:

  • Move – makes a character go forward.
  • Say – shows a message on the screen.

Variables

A variable is a named box that holds a piece of information.
You can put numbers, words, or even pictures in a variable and change them later.
Example: score = 0 creates a variable called score and starts it at zero.

Loops

A loop repeats a set of commands many times.
Instead of writing the same line over and over, you tell the computer “do this 5 times.”
This saves time and makes code easier to read.

Conditions

Conditions let the computer decide what to do based on a question.
If the answer is true, one set of commands runs; if it’s false, another set runs.
Example: “If the player touches a star, add 10 points.”

Making Your Own Simple Program

  1. Choose A Goal – What do you want your program to do?
    Example: make a character move across the screen.

  2. Plan The Steps – Write the actions in order on paper.
    Step 1: show the character.
    Step 2: move the character right.
    Step 3: stop when it reaches the edge.

  3. Write The Code – Translate each step into commands, variables, loops, or conditions.

    show character
    while character not at edge:
        move right
    end while
  4. Test And Fix – Run the program. If something isn’t right, read the code and change it.
    This is called “debugging.”

  5. Add A Twist – Try adding a score variable or a sound when the character reaches the edge.

Remember, coding is like solving a puzzle.
Every piece fits together to create something fun.
Keep experimenting, and you’ll see how powerful your ideas can become!

Continue the adventure

Download Surprise Button for iPad

A simple, safe way for kids to explore the internet. With one tap, they discover something new — a fun fact, a science experiment, a story, or a place in the world they never would've searched for.

Download on the App Store

Your child explores safely on Surprise Button App

🌋

How Volcanoes Form

From Magma to Mountain

Volcanoes grow where tectonic plates collide or drift apart. Heat melts rock into light, buoyant magma that rises, cools, and hardens near the surface, building the cone layer by layer.

Know exactly what to talk about tonight

Maya's Daily Discoveries - March 15 Inbox

🚀 Today's Learning Journey

🌋
How Volcanoes Form
18 min • Longest session today
🎨
Ancient Egyptian Art
15 min • Visited twice today

💬 Tonight's Conversation Starters

"Can you explain how volcanoes form?"