How to teach one Hour of Code with your class

Join the movement and introduce a group of students to their first hour of computer science with these steps. The Hour of Code is easy to run - even for beginners! If you'd like an extra set of hands to help out, you can find a local volunteer to help run an Hour of Code in your class.

Take a look at our participation guide if you still have questions.

1. Watch this how-to video

2. Choose a tutorial for your hour

We provide a variety of fun, student-guided tutorials for all age groups and experience levels. Students do the activities on their own, though many activities include lesson plans for teachers (you'll see the link when you click the activity) to guide discussion or extend the activity.

3. Promote your Hour of Code

Promote your Hour of Code with these tools and encourage others to host their own events.

4. Plan your technology needs - computers are optional

The best Hour of Code experience includes Internet-connected computers. But you don’t need a computer for every child, and you can even do the Hour of Code without a computer at all.

Make sure to test tutorials on student computers or devices to ensure they work properly on browsers with sound and video. 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 unplugged / offline tutorials.

Stil høretelefoner til rådighed i din klasse, eller bed eleverne medbringe deres egne, hvis øvelsen, du vælger, fungerer bedst med lyd.

Har du ikke nok enheder? Brug par programmering. Når eleverne arbejder sammen, hjælper de hinanden og har mindre brug for hjælp fra læreren. De vil også opleve at programmering er en social aktivitet, hvor samarbejde er vigtigt.

5. Start your Hour of Code off with an inspiring speaker or video

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!

Vis en inspirerende video:

  • The original launch video, featuring Bill Gates, Mark Zuckerberg, and NBA star Chris Bosh. (There are 1 minute, 5 minute, and 9 minute versions available)
  • 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:

  • Explain ways that technology impacts our lives, with examples both boys and girls will care about (talk about saving lives, helping people, connecting people, etc.).
  • Lav som klasse en liste over ting i hverdagen, som bruger kode.
  • See tips for getting girls interested in computer science here.

6. Code!

Direct students to the activity

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

  • "Det ved jeg ikke. Lad os se om vi kan finde ud af det sammen."
  • "Det er ikke altid teknologien opføre sig helt som vi ønsker."
  • "At lærer at programmere er som at lære et nyt sprog. Kun øvelse gør mester."

What if a student finishes early?

  • Students can see all tutorials and try another Hour of Code activity.
  • Eller du kan bede de elever, der er tidligt færdige om, at hjælpe de klassekammerater der har problemer med deres aktivitet.


7. Celebrate


Flere Hour of Code materialer til undervisere:

Hvad er næste skridt efter Hour of Code?

The Hour of Code is just the first step on a journey to learn more about how technology works and how to create software applications. To continue this journey:

  • Encourage students to continue to learn online.
  • Attend a 1-day, in-person workshop to receive instruction from an experienced computer science facilitator. (US educators only)