Coding for Kids

Coding for Kids

Coding for kids is quickly becoming a language that our students need to learn how to “speak,” even as young as Kindergarten. As an elementary Gifted and Talented and Makerspace teacher, I integrate unplugged coding, coding with apps and websites, and coding with robots across our entire curriculum. By introducing our young students to the basics of coding, we are opening new doors for possible passions, interests, and career paths in STEM fields.

My favorite unplugged coding activities for kindergarten and up are Hop Scotch Coding®, the Robot Game, and partner paper codes, and none of them need a screen.

If you’re new to the coding world or are looking for some fun, interactive ways to introduce coding to your students, you’ve come to the right place! I’ve been teaching coding and robotics in my classroom for many years, and I’ve learned a lot along the way. Let’s start with a simple definition of coding that is similar to what I share with my students.

1. What is Coding?

What is coding? Coding is the way we tell computers to do all the helpful things that they do for us.

2. Benefits of Coding

As you are teaching coding, you will notice many overlaps in skills and disciplines. Coding requires many high level thinking skills that are applicable to all subject areas. Here are just a few of the many benefits of teaching our students how to code:

Why teach coding? Logical thinking, problem solving, creativity and innovation, computational thinking

3. Coding Basics

As I introduce coding to my students, I first explain the 3 “flow control structures,” which are essentially the first 3 basic coding elements that they will encounter in any coding app, website, or program.

  1. SEQUENCE: Sequencing is the order of events for a program. When coders write programs, they must write the code in a very specific, detailed sequence. I usually use the example of making a peanut butter and jelly sandwich, asking students to tell me step-by-step in the most detailed manner possible how to make it. This is similar to the way code must be written.
  2. CONDITION: Conditions, or conditional statements are also called “if/then” or logic statements. For example, IF you type in your correct password, THEN you are let into the website. IF you tap the search button, THEN the search feature will run.
  3. LOOP: Loops are commands that repeat. This saves coders a tremendous amount of time and also prevents mistakes, as they don’t have to write the exact same code over and over.

I also teach my students some simple hand gestures to help them remember each of the flow control structures. I hold up 1, then 2 fingers for “sequence,” hold out my right palm, then left palm, then clap them together for “if – then – condition”, then loop my finger in a circle for “loop.”

Coding basics: sequence (the order of events), condition (if/then logic statements), loop (commands that repeat)

4. Coding Read Alouds

After introducing the 3 coding basics to my students, I share a coding read aloud. How to Code a Sandcastle by Josh Funk is perfect for students who are brand new to coding. I usually share this one with Kindergarten or first grade. It makes concrete, student friendly connections between sequencing, conditions, and loops and the steps to building a sandcastle. How to Code a Rollercoaster makes a wonderful follow-up and introduces variables as well. I usually save this read aloud for second grade and up.

Coding books: How to Code a Sandcastle and How to Code a Rollercoaster by Josh Funk

5. Hop Scotch Coding®

Hop Scotch Coding® is my unplugged coding activity for K–3rd grade (not the Hopscotch app!): students write arrow codes, map them out on the floor, and hop them, with no screens needed. You can grab all 10 packs in my Hop Scotch Coding® Bundle on TPT. Next, my students are ready to get up and moving with Hop Scotch Coding®! Students map out interactive codes on the floor and act them out to practice sequencing, conditions, and loops!

Hop Scotch Coding®: a floor code of arrow, hop, clap and stop cards
Hop Scotch Coding® flow control structures: sequence, condition, loop

Check out this video to see Hop Scotch Coding® in action!

My older students use a more challenging version called Hop Scotch Dance Party, and they absolutely LOVE it! Instead of simple movements, their “conditions” are dance moves!

Hop Scotch Coding® Dance Party floor code with dance-move cards
Hop Scotch Coding® The Bundle: all the seasonal versions

You can check out all my seasonal versions of Hop Scotch Coding® in my All Year Bundle! They make great interactive party stations!

Another option to practice unplugged coding is called the Robot Game! This is perfect for a Morning Meeting Activity or brain break, and doesn’t require any materials. Here’s how it works:

The Robot Game: partner students, one calls out commands (walk forward two steps, hop, turn left, if you reach the wall then turn back), then trade places

6. Unplugged Coding

Unplugged Coding with partners is another wonderful way for students to practice sequencing and conditions. For these activities, one student maps out a code on paper, then their partner figures out the code and writes the code to match. Then, students trade places and repeat.

Unplugged coding: two students writing codes on paper

Check out my Gingerbread Unplugged Coding activity with printable, Google Slides, and Seesaw versions below:

Unplugged Gingerbread Coding on TPT

Gingerbread Coding: the Crack the Coder sheet and gingerbread coding map
Gingerbread Coding steps: 1 create a map, 2 figure out the code, 3 write the code
Unplugged Coding All Year Bundle: Snowman, Cupid's, Lucky Charms, Rainy Day, Honeybee, Back to School, Trick or Treat, Thanksgiving and Gingerbread Coding

7. Coding Apps

The second week of December is dedicated to the “Hour of Code,” during which students around the world spend a full hour exploring and practicing programming in a variety of ways. Code.org now calls its big event the Hour of AI, but the week is the same. I like to offer my students several websites and apps to explore during the Hour of Code. Here are a few of my favorites:

Favorite coding apps and websites: Kodable, Sphero Edu, code.org, Scratch Jr., Bee-Bot, Swift Playgrounds

Kodable

By far, my favorite app for teaching Pre K, Kindergarten, and First Grade students the basics of block coding is Kodable. The app has free introductory levels, with more levels unlocked if a teacher has created a class account on their website. To play Kodable, students drag and drop a series of commands to get a lovable little “fuzz ball” through a maze, attempting to collect stars along the way. It is highly kid-friendly, developmentally appropriate, and engaging, with courses that slowly increase in difficulty from Sequence and Algorithms, to Conditional Expressions, to Loops and Patterns and beyond. Kodable continues to add more features and options as it grows in popularity, including teacher accounts where we can enroll full classes and track their progress.

Kodable: iPads and desktops, tutorial videos, unplugged lessons, scripted lesson plans, printables, guided demos, class accounts

Scratch Jr.

Scratch Jr. is perfect for our little creatives who love to design their own stories, videos, and animations. This app is simple, inviting, and open-ended, and is a hit with my students every year. There are tutorials on their website as well as activity cards. My students always download this app at home because they can’t wait to continue creating!

Scratch Jr.: printable tutorials, open-ended, creative storytelling, animations

Code.org

Code.org is also a highly popular, free coding website that is most appropriate for advanced first graders and up. Kids absolutely love this site because it features popular programs and characters such as Minecraft and Dance Party. Teachers can create class accounts and track students’ progress. This site is wonderful for dedicated coders because the levels increase to highly advanced strategies for middle schoolers and beyond. Students can also “skip around” levels to try out different programming strategies and difficulty levels.

Code.org: the largest variety of options, all ages, Hour of Code activities

8. Coding with Robots

Robotics is my final stage of teaching coding to my students (and also happens to be my personal favorite!) Check out the blog post below to learn all about how I incorporate robotics in my elementary classroom:

Robotics Made Easy: Sphero, Bee-Bot, Dash and more

Shopping for a little coder? Coding robots like Bee-Bot, Botley and Coding Critters are in the Robots and Coding section of my 2026 STEM Toys for Kids gift guide!

This post contains affiliate links. If you buy through them, Teach Outside the Box earns a small commission at no cost to you.