How to organize an Hour of Code assembly or event

The Hour of Code is a one-hour introduction to computer science, using fun tutorials to show that anybody can learn the basics. Your efforts can make a huge impact on the way students view computer science and their own potential.

Schools and organizations who fully engage with Hour of Code can help raise awareness of the computer science movement and inspire more students to try computer science, particularly young women and students from historically marginalized racial and ethnic groups.


Register your event

Register your Hour of Code event to receive early access to information about new activities and special promotions! When 300 or more students participate, you can receive a special engagement kit with t-shirts, posters, laptop stickers, and more. Share your whole school event plan to qualify.

Before Hour of Code

You can also view the Hour of Code map to see your event, and know that your dedication is part of a worldwide movement.


Choose your activities

This year, the Hour of Code theme is Creativity with Artificial Intelligence (AI). Whether it’s coding new apps and algorithms, generating unique art, or crafting choreography to get us dancing, AI is opening up fresh opportunities for digital expression that expand our understanding of creativity. Make this year special by completing a coding activity AND learning about AI.

First, explore hundreds of coding activities and choose one based on your group's age, experience, interests and more. These select activities feature artificial intelligence as a key topic or lesson.

Then, learn all about AI. Students can watch short videos featuring experts in the field, and there are accompanying lesson plans to extend the activity and guide further discussion. Or, we offer free professional learning for educators to unlock the future of teaching with and about AI.


Prepare for your event

Consider where and when you want to hold your event, as well as the tech capabilities of your space. Students can work on their own devices, in pairs on one device, or together as a classroom on a projector, and there are even unplugged tutorials that can be completed with no devices at all!

Send a letter to an elected official or influential business person and invite them to speak. Check out our how-to toolkit when hosting an elected official during an Hour of Code for more info.

You may also invite the local media, such as a local news station, newspaper, or education/tech bloggers. See our press kit for help.


Plan your hour

Here's a sample agenda to get you started:

  • 10:00 - 10:05 am: Open with one of our inspirational videos.
  • 10:05 - 10:15 am: Principal gives an intro overviewing the importance of computer science. Use these stats and infographics.
  • 10:15 - 10:30 am: Special guest to talk about their background and how technology and computer science plays an important role in their everyday lives
  • 10:30 - 10:40 am: Students do an Hour of Code demo for the school. Fun twist: have them teach the principal, politician, or other students!
  • 10:40 - 11:00 am: Students demo an unplugged activity and how computer science can be taught without using computers.
  • 11:00 - 11:05 am: Teacher who helped organize school-wide event gives closing remarks.

Get coding!

As students are working on their activity, take pictures to commemorate the event, and to post on your organization's social media networks. (Publicity or privacy policies may apply.)

Day of Hour of Code

Make sure the agenda is running smoothly, and that it remains on track to end on time—especially if any special guests have other scheduled commitments to attend.


After the event

After a successful Hour of Code event, make sure to:

  • Celebrate! Print certificates of completion and congratulate your students.
  • Thank any special guests for their time (especially great for students to do) and offer to answer any follow-up questions they may have.
  • Post pictures, videos, or notable quotes from the day on social media. (Publicity or privacy policies may apply.)
  • Follow up with volunteers or guests for feedback on how to make next year's event even better.
  • Reach out to your school's Parent Teacher Student Association or share in parent newsletters, letting them know what their children are learning.
Print certificates

Beyond Hour of Code

It doesn't end here!

After Hour of Code

Computer science doesn't have to end with the Hour of Code! While 90% of parents want their child to learn computer science, most schools still don't teach it. Check out the diverse curriculum offerings from Hour of Code partners, and learn how to bring CS to your school today!

Go beyond the Hour of Code

Frequently asked questions

View more FAQs
What are the prerequisites for doing an Hour of Code?

The Hour of Code is simple to run — even for beginners. You don't need experience in computer science or teaching in order to inspire students to explore, create, and learn something new.

What devices do I need to run an Hour of Code?

Devices you can use:

  • Tablet
  • Laptop
  • Desktop Computer
  • Mobile Device

If devices are limited or unavailable, try pair programming or explore our unplugged activities to learn without any devices at all!

Other Hour of Code resources

Promotional Resources

Find all the resources you need—print and digital—to bring attention to your Hour of Code.

Discover Activities

Explore a wide selection of one-hour tutorials designed for all ages in over 45 languages.

How to Get Involved

Help spread the word about Hour of Code! Discover ways to get your community involved.