Ten Ways to Teach Kids to Code

by Caryn Humphreys on January 9, 2016

Many of us have kids in our lives (sons, daughters, nieces, nephews, etc.) who see us engaged in programming and coding regularly. And as kids do, they love to be involved in things we’re doing. Here are ten ways you can get those kids involved!

1. Mazes

Kids can create and/or solve mazes without needing to be able to read or write or have any computer skills. Mazes in particular set a solid foundation for helping kids begin to form problem-solving skills. When the kid creates their maze and someone else solves the maze, they witness their commands taking effect in real time.

Little Codr Game

A simple introduction to this concept is the card game Little Codr Game. With this game you are given a deck of directional cards (left, right, straight, back, etc.), and the kid gets to pick out a set of directions, in order. Someone else (a parent, grandparent, etc.) then stands in a room where the game is being played, and they follow each directional step, in order. This allows the kid to watch the adult execute their commands.


Little Codr Game (age 4-8)

2. Board Games

Board games are a great way to engage kids and keep them entertained while teaching them valuable lessons and skills. These board games teach kids the basics of programming without requiring a computer at all!

Robot Turtles

Code Master, for example, is one of the board games from Think Fun. It teaches kids the basics of programming as well as planning, sequential reasoning, and problem solving skills.


Robot Turtles (age 4+)
Code Master (age 8+)
Code Monkey Island (age 8-12)

3. Hour of Code

Designating a set amount of time for kids to learn new things helps keep kids (and parents!) engaged and makes it easy to plan for in busy schedules.

The official Hour of Code is a non-profit organization whose mandate is making programming and computer literacy more accessible for everyone. With Hour of Code, kids spend an hour making their own games and programs either on their own or with a partner or teacher.

Tynker is an online resource that provides interactive exercises, guided tutorials, fun creativity tools, and puzzles.


code.org (age 6+)
Tynker (age 7+)
Made With Code (age 12+)

Games & programs kids can make

Minecraft Hour of Code (age 6+)
Code with Anna and Elsa (age 8+)
The Foos (age 5-10)

4. Create Animation and Games

Allowing kids to see the stories, games, and animations they’ve created lets them take their creativity even further.

Educational applications like Scratch offer kids an animation programming language to help young people learn to think creatively, reason systematically, and work collaboratively while learning how to animate. Scratch also offers reference cards that you can print out with tips on things kids can animate with Scratch and instructions to use in the application.


Scratch (age 8-16)
Scratch Cards (age 8-16)
Hopscotch – for iPad (age 10+)

5. Write a Web Page (start a blog)

A great way for kids to feel good about the things they’ve been learning is by making something personal with the things they’ve learned so far. Whether it’s by using a tutorial, or starting from scratch, kids can make their very own web page all on their own!


Kahn Academy – HTML & CSS (age 8+)
Code School – HTML & CSS (age 13+)
Codecademy – HTML & CSS (age 13+)

6. Learn a Language

Once kids are comfortable with the concepts of programming, the next step is to help them learn a language. JavaScript, Ruby, Python, and Java are the most popular languages today. There are several places online where kids can learn to code using the language they like.

Companies like Bitsbox make it easy and fun to learn a coding language by providing a library for kids to take advantage of while learning to code with actual snippets that are able to be entered into a computer. With a Bitsbox subscription every month, kids also get accompanying items like books, toys, and stickers.

Code Cards takes a slightly different angle on teaching kids HTML, CSS, and JavaScript by giving kids a physical card game that makes things fun and enjoyable around other people.


Bitsbox (age 6-12)
Code Cards (age 7+)
JavaScript for Cats (all cats, and some humans!)

7. Find Something That Interests Them

Kids have all sorts of interests where coding can be introduced. Whether it’s books, contests, games, or courses, there is something out there for just about every interest.




Khan Academy
Minecraft – Youthdigital (age 8-14)
iD Tech Robotics (age 6-9)
Wearables – Jewelbots (age 8+)

8. Hardware

Having hardware to program and play with brings programming to life for kids. Kids can build things like a Pizza Box Phonograph or an Art Bot with an Arduino, a Weather Station or an Interactive Pixel Pet with a Raspberry Pi, or wearable eTextiles with a Lilypad.


Arduino – littleBits (age 8+)
Raspberry Pi (age 7+)
Lilypad (age 10+)

9. Robots

Robots offer an experience like having a programmable pet. Kids get to put the robot together the way they like then turn it on and watch it come alive! Whether they would like something familiar like Lego or are interested in something more modular like Cubelets, kid-friendly robots come in all shapes and sizes!


Cubelets (age 4+)
Lego Mindstorms (age 10+)
Sphero SPRK Lightning Lab (age 10+)

10. Teach a Class

One of the most impactful ways of reinforcing something a kid has learned is teaching someone else. Was Hour of Code fun for them? Well now they can host their very own Hour of Code! Do they like talking to other people? They may enjoy speaking at a community event or even a conference!


host an Hour of Code (age 7+)

More Resources

Learn to code (online)

Kids Learning Code
Envato Tuts+

Learn to Code (books)

Database Design for Mere Mortals Free Programming Books (HTML/CSS)

More reading

5 Reasons to Teach Kids to Code (infographic)
Best Apps and Websites for Learning Programming and Coding
Eric Schweikardt presenting Modular Robotics at TEDx Front Range

The following two tabs change content below.

Caryn Humphreys

UX Designer
Caryn is a Product Designer. She likes writing about CSS tricks she's discovered, Best UX Practices, living and working in a startup community, and fostering a badass team culture.

Latest posts by Caryn Humphreys (see all)