0Pricing
Coding for Kids · Lesson

What Is a Function?

A function is a reusable set of steps.

A Magic Recipe

Hi explorer! 🧑‍🍳 Today we learn about functions.

A function is like a recipe. It is a group of steps you save so you can use them again and again!

Why Recipes Help

Imagine making a sandwich. 🥪

  • Get the bread
  • Add cheese
  • Close it up

If you write these steps once, you can make a sandwich any time without thinking hard!

All lessons in this course

  1. What Is a Function?
  2. Writing Your First Function
  3. Giving Functions Inputs
  4. Returning a Result
← Back to Coding for Kids