How to plan your Hour of Code

Join the movement and introduce your students to computer science with these steps.

Computational thinking helps nurture problem-solving skills, logic, and creativity. And technology is transforming every industry on the planet. Students today should learn how to create technology, not just use it. By starting early, they’ll have a foundation for success in any 21st-century career path.

Trying an Hour of Code is a simple and fun way to introduce students to computer science, perhaps for the very first time, and it fits perfectly for both in-class and after-school settings. Take a look at our participation guide if you still have questions.

An Hour of Code can also be hosted remotely! To get started, check out our tips for hosting a virtual Hour of Code event.

1. Watch the Hour of Code how-to video

2. Explore activities and tutorials

We provide a variety of fun, student-guided tutorials for all age groups and experience levels. It’s popular for students to try self-led tutorials, though many activities include lesson plans for teachers to guide discussion or extend the activity as well.

Explore the activities and decide ahead of time if you want to choose a single tutorial for all of your students, or let each child pick their own.

3. Create your plan for the day

Think about your technology needs - computers are optional!

  • Pour tirer le meilleur parti de l'Heure de Code, il est préférable de disposer d'ordinateurs reliés à internet. But you don’t need a computer for every child, and you can even do the Hour of Code without a computer at all! For unplugged activities, simply filter the Classroom Technology section to show options for “No computers or devices”.
  • Testez les tutoriels sur les ordinateurs ou appareils mis à votre disposition. Assurez-vous qu'ils fonctionnent correctement sur les navigateurs, notamment le son et la vidéo. Have low bandwidth? Plan to show videos at the front of the class, so each student isn't downloading their own videos. Or try the offline tutorials.
  • Distribuez des écouteurs dans votre classe, ou demandez aux élèves d'apporter les leurs, si le tutoriel que vous choisissez fonctionne mieux avec le son.
  • Don't have enough devices? Use pair programming. Quand les élèves sont en équipe, ils s'entraident et sollicitent moins leur enseignant. Ils découvriront ainsi que l'informatique est une discipline qui favorise les interactions sociales et la collaboration.

Pick a day and time

People around the world join in the Hour of Code celebration during CS Education Week (December 9-13) when the latest tutorials and activities are released. But you can do an Hour of Code any day of the year!

4. Promote your Hour of Code

Now that you've planned your event, it's time to start promoting it!

Tell your School and Community

Promote the Hour of Code to other teachers who may want to join in on the fun! This is also a great opportunity to reach out to your school’s PTSA or share in parent newsletters, letting them know their children may come home wanting to try more activities and tutorials!

Let Volunteers Know by Registering Your Event

When you sign-up your Hour of Code event, you’ll receive helpful email communications with news and tips for hosting a successful Hour of Code. It’s also how you can let local volunteers know your school is participating. Volunteers are a great resource and can come speak to your class about computer science or simply help your students with Hour of Code activities.

Get your Students Excited

Lead up to the event by sharing inspirational videos highlighting diverse people and creative ways that computer science can be used. Or order inspirational posters for your classroom! Students are more excited to participate in a subject when they see people who look like them encouraging it.



Learn more about posters, videos, stickers and other ways to promote your event to your community.

5. How to start your Hour of Code strong

Once your Hour of Code celebration has arrived, make sure you start your event strong with some of these tools and tips.

Invite a local volunteer to inspire your students by talking about the breadth of possibilities in computer science. There are thousands of volunteers around the world ready to help with your Hour of Code through either a classroom visit or video chat with your students!

Montrez une vidéo qui inspire :

  • La vidéo de lancement originale de avec Bill Gates, Mark Zuckerberg et la star de la NBA Chris Bosh. (des versions d'1 minute, de 5 minutes et de 9 minutes sont disponibles)
  • Find more inspirational resources and videos.

It’s okay if both you and your students are brand new to computer science. Here are some ideas to introduce your Hour of Code activity:

  • Expliquez la manière dont les nouvelles technologies impactent notre vie, grâce à des exemples qui parleront aux garçons comme aux filles (parlez des technologies qui permettent de sauver des vies, d'aider les gens, ou de connecter les gens entre eux, etc.).
  • En classe, rédigez une liste des choses qui nécessitent de faire de la programmation dans la vie quotidienne.
  • See tips for getting young women interested in computer science here.

6. Get coding!

Direct students to the activity

When your students come across difficulties it's okay to respond:

  • « Je ne sais pas. Regardons à cela ensemble. »
  • « La technologie ne fonctionnent pas toujours de la façon dont nous le voulons. »
  • «Apprendre à programmer, c'est un peu comme apprendre une nouvelle langue; on ne peut pas être tout de suite bilingue.»

What if a student finishes early?

  • Students can see all tutorials and try another Hour of Code activity.
  • Ou encore, demandez aux élèves qui ont terminé plus tôt d'aider les camarades qui rencontrent des difficultés avec l'activité.

7. Celebrate your students' success

Autres ressources de l'Heure de Code pour les éducateurs :

Et après l'Heure de Code ?

Computer science doesn’t have to end with the Hour of Code! Our curriculum is web-based and free to use, forever. Learn how to bring CS to your school and students.