Skip to content


Hour of Code micro:bit activities

10 Nov 2022

The Micro:bit Educational Foundation have added three activities to's Hour of Code website

What is Hour of Code?

Hour of Code is a global initiative that enables anyone to get young people coding. There are hundreds of one-hour activities to choose from, using fun tutorials to make games, animations, apps and more.

BBC micro:bit activities

This year's Hour of Code celebrates how we explore, play, and create so we've picked three playful and creative micro:bit activities. Why not try them out with your students?

  • Explore your environment with random directions in Which way now?
  • Code your own micro:bit dice, create and play your own board games and remix the code to make 20-sided dice or more
  • Create your own electronic controllers by building a reaction game with kitchen foil and scrap cardboard

Each project contains instructions and sample code, and you can even launch them straight into your own micro:bit classroom lesson:

Shake your micro:bit to make random numbers

Register and put your school on the map!

Educators all over the world are taking part. One-hour tutorials are available for free all year round, but every year in December your class can join millions of students around the world celebrating Computer Science Week with Hour of Code.

Register your coding event and your school will appear on the Hour of Code event map.

Register your event

Celebrate your students' achievements

When you've completed an activity, you can print certificates with your students' names on them. You can also download "I did an Hour of Code!" stickers.

Stickers and certificates

More Hour of Code activities

You can search for an activity that suits your class based on topic, the technology you have available, or your students' age and level of knowledge. Activities are also available in many different languages.

Latest stories