In coding, it’s all about learning by doing. Coding activities for kids are a hands-on way to learn the basics of programming. 

Studying code and examples can only take kids so far. They need to put their knowledge into action and the best way to do that is just to code. 

📌 [Download] Printable Scratch Coding Tutorials Get 2 printable Scratch tutorials, Rocket Landing and Flying Space Cat, to code your own games step by step. Download Now

Kids in my coding classes get so excited when they see their code in action. They’re not just watching me write code, they’re doing it themselves and that’s why they’re learning. In every class, we complete a project or activity so they’re constantly adding knowledge.

Here are some fun and free coding activities your kids are sure to love!

Scratch Coding Activities for Kids

Scratch is a great platform for kids who are just learning to code. It’s free and allows kids to use drag-and-drop code blocks to write programs. Kids can build their own games and apps that can be shared and remixed. Try these fun activities to learn about Scratch and then get more Scratch project ideas.

Make a Flappy Bird Game

Ages: 8+

Skills Learned: Scratch basics, loops, time functions, animations

Flappy bird coding activity

Kids fly through the air as a flappy bird, but they have to avoid a collision to reach their destination. They’ll learn to animate a moving object and create obstacles by using code blocks. Kids will have as much fun coding this game as playing it. It’s an easy game to build and requires no setup in Scratch.

View Activity

Flying Space Cat Game

Ages: 8+

Skills Learned: Scratch basics, loops, functions, game score logic

Space cat coding activity

In this game, kids travel across space collecting crystals and use game logic to keep score. Collecting is a popular mechanic in games and is easily coded in Scratch with the same basic logic. They’ll learn how to animate a moving background and in just a few steps have a completed game. Easy activity for first-time coders.

View Activity

Rocket Landing Game

Ages: 8+

Skills Learned: Scratch basics, loops, random functions, variables

Rocket landing coding activity

A simple coding activity where kids have to land a rocket on a moving platform. They’ll learn how to alert the winners and losers which is a common game element. There are only a few elements to code, so the concepts and code are easy to follow. This activity also includes a full tutorial video and printable PDF for extra support to complete it.

View Activity 

Valentine’s Day Card Scratcher

Ages: 8+

Skills Learned: Scratch basics, loops, positioning, functions, if-then statements

Valentine's coding activity

A scratcher card coding activity where kis can share a messages with the ones they love. They’ll learn how to animate a scratching effect and get familiar with positioning in Scratch. This activity is perfect for Valentine’s day and is also easy for kids to personalize and add their own flare to. 

View Activity 

Holiday Advent Calendar

Ages: 8+

Skills Learned: Scratch basics, events, if-then statements

Holiday coding activity

Kids slowly reveal gifts, goodies, or games to family and friends in this fun holiday coding activity. It’s a good way to practice basic coding concepts and date-related functions in Scratch. Kids can get pretty creative with their designs and gifts. A lot of the logic is included in the base game that kids will remix.

View Activity

Halloween Candy Collector Game

Ages: 8+

Skills Learned: Scratch basics, loops, functions, mouse events

Halloween coding activity

Kids collect a load of candy in this Halloween-themed Scratch game. They’ll code a ghost character and setup different scenes for their game. There’s a video tutorial included so you can follow along. It’s an easy and fun game for beginners and can be played with family and friends. 

View Activity 

HTML/ CSS /JavaScript Coding Activities for Kids

HTML, CSS, and JavaScript are the foundation of modern web development and important languages for all developers. Many programmers use these languages regularly, but even those who don’t need to have a basic understanding to develop for the web. Try these coding activities to practice HTML, CSS, and JavaScript.

Holiday Card

Ages: 10+

Skills Learned: HTML/CSS basics, Google fonts, styling

Kids can save paper and the environment by coding a digital holiday card. They start with a blank card to add their image and message to using code. This requires only basic HTML/CSS for beginners and a few simple steps. It’s a fun and creative way to incorporate coding into your holiday activities.

View Activity 

Thanksgiving Matching Game

Ages: 10+

Skills Learned: HTML/CSS basics, classes, click events, buttons

Try coding a memory challenge in this Thanksgiving matching game. Kids will use 3D transformations to flip the cards and code a simple button. The starter code provides the basic functionality and kids can build and personalize their game on top of that. Full video tutorial and printable coloring activity included too.

View Activity

Disappearing Snowman

Ages: 10+

Skills Learned: JavaScript basics, keyword events, arrays, functions, animation

This is a classic word game turned into JavaScript code. Kids will use code to check for matches between their secret word and the player’s, otherwise their snowman starts to melt. A nice starter activity for kids learning vanilla JavaScript.

View Activity

Rock, Paper, Scissors

Ages: 10+

Skills Learned: JavaScript basics, game logic, variables, time functions, events

This coding activity features a classic game with simple game logic, “Rock, Paper, Scissors”. Kids code emojis that show the player and computer’s choice along with the winner. This has a simple design and starts kids off with the HTML and CSS code, so they can focus on learning JavaScript.

View Activity

Easter Egg Hunt

Ages: 10+

Skills Learned: JavaScript basics, jQuery, functions, events, animation, conditionals 

Kids have to use code to hide eggs and then find them in this Easter coding activity. They will practice coding in both JavaScript and jQuery. There’s not a lot of code to write and the logic is easy to follow. It’s a quick introduction to several JavaScript concepts and can get kids interested in learning more.

View Activity

Python Coding Activities for Kids

Python is both an easy-to-learn and widely-used coding language. That’s why it’s the first language we teach in our middle school and high school coding programs. Python coding activities will help kids solidify the concepts and syntax in an engaging way. Check out these Python activities and more Python projects for kids.

Random Dad Joke App

Ages: 11+

Skills Learned: Python basics, functions, loops, imports,  APIs

Nothing’s funnier to kids than a dad joke, right? Now, kids can code their own app that generates dad jokes anytime. It’s a simple activity that utilizes basic Python functions and logic. For kids, this activity explains the concepts and shows the results for each line of code. 

View Activity

“Pig” Dice Game

Ages: 11+

Skills Learned: Python basics, functions, loops, imports, APIs

Kids can challenge the computer to a game of Pig. This coding activity assumes kids know basic Python programming. Kids will code the game logic and use a CodeWizardsHQ API to access a database of jokes. This is a fun activity for beginner Python students and covers important Python topics like functions and imports.

View Activity

Google Coding

CS First is a program created by Google to make learning effective and fun while leveling the computer science playing field. They have computer science curriculum for teachers and activities for students. These feature fun hands-on activities with instructional videos. 

Level: Introductory 

This activity uses Scratch for CS First. Kids will learn about computer science and then use loops, events, and sequencing to design and animate a Google logo. They walk kids through the activity step-by-step and they can press continue as they are ready to progress. It’s easy even for young kids and has fun with Google Doodles.

View Activity

Art

Level: Intermediate 

A video-based curriculum with multiple activities to choose from. The videos explain the art concepts and also instructions on how to code the project. Students create animations, interactive artwork, photograph filters, and other exciting, artistic projects using code. It’s a great way to encourage kids who enjoy art to consider coding.

View Activity

Game Design

Level: Advanced

A video-based curriculum with multiple games to code. Students learn basic video game coding concepts by making different types of games, including racing, platform, and launching. They also learn about storytelling and the intangibles that make a game awesome. 

View Activity