How to plan your Hour of Code

The Hour of Code is a one-hour introduction to computer science, using fun tutorials to show that anybody can learn the basics. This year, we're taking Hour of Code to new heights by offering coding opportunities that encompass both artificial intelligence (AI) and non-AI components. Whether you or your students are experienced coders or you all are setting out on your very first computer science expedition, this Hour of Code promises an extraordinary voyage.


Register your event

Start with a commitment to doing an Hour of Code with your students by registering your event. When you register, you'll receive helpful emails with news and tips for hosting a successful Hour of Code. You'll also be put on the map. The visible totality of our collective efforts demonstrates the global commitment to the computer science movement, which will help us build momentum for systemic change.

Before Hour of Code

Register your event

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.


Plan your event

What: Before your event, try out the activities yourself so you can ensure they work on student devices and you're prepared to answer questions! Have low bandwidth? Plan to show videos at the front of the class, so each student isn't downloading their own videos.

When: People around the world often join the Hour of Code celebration during Computer Science Education Week (September 5 - December 17), but you can do an Hour of Code any day of the year!

Where: Choose a space that works for the number of students and devices you have available. Students can try activities on individual devices, take turns sharing a device, or as a class on a whiteboard. There are even unplugged activities that can be completed with no devices at all, so they can even be done outside!


Plan your hour

Here's a sample agenda to get you started:

  • 10:00-10:05am: Begin with an inspirational video
  • 10:05-10:45am: Students do their coding activity
  • 10:45-10:55am: Students learn about AI
  • 10:55-11:00am: Teacher gives closing remarks

Help spread the word

Help us spread the word in your community with these email templates.

  • Ask two colleagues to register and host an Hour of Code activity. They, in turn, can secure two colleagues, who can secure two colleagues, etc.
  • Ask your principal to host a school-wide event. When 300 or more kids participate, you can receive a special engagement kit with t-shirts, posters, laptop stickers, and more. Share your whole school event plan to qualify.
  • Reach out to your school's Parent Teacher Student Association or share in parent newsletters, letting them know what their children are learning.

Get coding!

Direct your students to the activity, maybe by sharing the link on the board or through your classroom's learning management system. Your students may encounter challenges—that's okay! Learning to program is like learning a new language; you won't be fluent right away. If you don't know the answer, you can figure it out together.

Day of Hour of Code



After your event, print certificates of completion and congratulate your students. Share photos and videos of your Hour of Code event and show off your students' achievements using #HourOfCode and @codeorg.

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!

Will the Hour of Code take a full hour?

Many students will be able to finish their activities in less than an hour, and that's okay! Students can continue to learn while other students complete their activity.

Become a volunteer
Vai skolēniem jāpiesakās, izmantojot kontu?

No signup or login is required for students to try the Hour of Code. Signing up for the Hour of Code does NOT automatically create a account.

Other Hour of Code resources for educators

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.

Teacher Forum

Visit the Hour of Code Teacher Forum to get advice, insight and support from other educators.