forward with fun logo

Teach coding in kindergarten with this free to print candy corn stem challenge. It’s so simple, you can do this with your whole class- all you need is a bag of candy corn! Let’s go.

Before you print, you’ll need to understand how to teach coding in kindergarten and why on earth we’re going to use candy corn to do it. So read on.

kindergarten coding candy corn stem challenge

What is coding in kindergarten?

Can a 5 year old learn coding? Of course they can! Most of the coding we teach in kindergarten is called directional coding as opposed to block coding.

Directional coding is coding that is giving directions very simply, usually through a series of arrows. This can be done on the computer or in an unplugged coding activity, such as this one. 

In this hands-on candy corn STEM challenge, kids will be using the candy corn as arrows as they practice directional coding to get from start to finish. Then they’ll test out their code, to see if it works!

Why is coding important in kindergarten?

Coding may not be part of the learning standards now, but I know it will be! The world is shifting to be more and more technologically centered, and many future jobs or even hobbies may rely on the ability to code. 

When we start coding in kindergarten, we build these future skills that children will need. It's like learning a language; the earlier you begin, the more fluent you will be.

Some benefits of coding in kindergarten:

Unplugged coding activities are done without a computer, so many kids can participate at once, building skills they'll need on computers.

Avoid this common mistake kindergartners make while coding:

The most typical mistake I see when I am teaching directional coding to kindergartners is the addition of redundant codes. When you are coding, if your arrow points down, you will not need another arrow until you want to change directions.

You should never have two arrows in a row that are pointing the same way.

example of redundant vs correct coding in kindergarten

Candy Corn STEM Challenge Guide

Supplies needed for the Candy Corn STEM challenge:

Basics of coding to teach your kindergartners:

Directional coding is about using basic arrows to direct your token item where to go. Only use an arrow when you are changing directions.

The only directions for our candy corn to point are:

Remember: there is no diagonal pointing here!

Lesson Plan: Candy Corn Coding in Kindergarten

Objective:

Code a path from start to finish, using candy corn. Test out the candy corn code by following it with a token of choice.

Directions:

  1. Use your candy corn to make a path through the grid to get to the end. Candy corn can only point up, down, left, or right. Only use a candy corn to change directions.
  2. Place a candy corn in the first square to direct your token in the right direction. (This should be pointing right.)
  3. When you come to a block in the grid, you'll need to add a candy corn to code a new direction that avoids the block.
  4. Continue using candy corn arrows to avoid all objects and direct your token out of the path to the finish line.
  5. Once your code is complete, use your token and follow the code to see if it indeed, leads you out of the grid. This can be done with a partner as well.

Answer key/code:

There is more than one way to complete the coding challenge. Here are the photos of the possible correct answers. Remember to pin or bookmark this page so you can check the answers against your kiddos' or simply follow their path.

Want the bundle of 6 additional Candy Corn STEM Challenges?

If you feel especially passionate about kids coding, or even just want to make an independent center out of this activity, I've made a bundle of 6 black and white coding printables for you.

Each printable has 2 or more solutions so you'll have 12 additional directional coding activities to do with your kindergartners, along with your freebie.

Grab the bundle of 6 kindergarten printable coding worksheets for only $1.50. If you're looking for just the FREEBIE, just keep scrolling! : )

Just want the FREE Candy Corn STEM Challenge to teach coding in kindergarten? Here you go!

Looking for more candy corn and Halloween activities to do with your 4-6 year olds?

Check out our post of simply delightful Halloween activities for your leftover candy corn. Please follow and tag @forwardwithfun on social media if you share this activity!

addition halloween activities for kindergarten
girls hugging

Join our signature
program
The Fun Club!

Find out more...

About Us

My mission is to bring fun hands-on learning to your home through simple activities and games that capture your child’s interest.

Weekly Newsletter

Want a free week of learning? I'll send one right to your inbox!