Hour of Code™

Hour of Code™

10 Stripes

“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.

Provide headphones for your class, or ask students to bring their own, if the tutorial you choose works best with sound.

Don’t have enough devices? Use pair programming. When students partner up, they help each other and rely less on the teacher. They’ll also see that computer science is social and collaborative.

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!

Show an inspirational video:

  • The original Code.org launch video, featuring Bill Gates, Mark Zuckerberg, and NBA star Chris Bosh. (There are 1 minute5 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.).
  • As a class, list things that use code in everyday life.
  • 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:

  • “I don’t know. Let’s figure this out together.”
  • “Technology doesn’t always work out the way we want.”
  • “Learning to program is like learning a new language; you won’t be fluent right away.”

What if a student finishes early?

  • Students can see all tutorials and try another Hour of Code activity.
  • Or, ask students who finish early to help classmates who are having trouble with the activity.


7. Celebrate


Other Hour of Code resources for educators:

What comes after the 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.” – Hour of Code™ How-To, https://hourofcode.com/us/how-to

Copyright 2018 Code.org. All rights reserved. Hour of Code™ is a trademark of Code.org.

Earn Your Stripe!

  • Submit links to or photos of your students participating in Hour of Code™.
  • find bike trails

  • This tool allows students to use a deliberate design process for generating ideas and testing theories.
  • This tool allows students to understand how automation works and use algorithmic thinking to develop a sequence of steps to create and test automated solutions.
  • This tool allows students to understand the fundamental concepts of technology operations, demonstrate the ability to choose, use and troubleshoot current technologies and are able to transfer their knowledge to explore emerging technologies.
  • This tool allows students to curate information from digital resources.
  • N/A
  • N/A
  • N/A
  • If students are creating, testing, and debugging codes

Alignment to the ISTE Standards and to SAMR is intended to help teachers understand the roles these technologies have in creating learning experiences. They are not meant to be concrete classifiers. Any other suggestions on the alignment of these may be forwarded to the Instructional Tech Dept. ISTE Standards for Students, ©2016, ISTE® (International Society for Technology in Education), iste.org. All rights reserved.


People who have earned this:

  • Profile photo of Amy Emmenderfer
  • Profile photo of Heather Blandford
  • Profile photo of Tara Bova
  • Profile photo of Gretchen Bunch
  • Profile photo of Shannon Clubb
  • Profile photo of Darren Neels
  • Profile photo of D Smith 2nd
  • Profile photo of Debbie
  • Profile photo of Amy Dunn
  • Profile photo of Heather Fisher
  • Profile photo of hopea
  • Profile photo of Bailey Kralemann
  • Profile photo of Debbie Kyle
  • Profile photo of Charlie Lindberg
  • Profile photo of Michael Bezushko
  • Profile photo of Ashley Radake
  • Profile photo of Amy Rusthoven
  • Profile photo of Peggy S. Stieneke
  • Profile photo of Anna Sturgeon
  • Profile photo of Theresa Taylor
  • Profile photo of Valleroy
  • Profile photo of Jennie Webb
  • Profile photo of Crystal Williams
  • Profile photo of Jennifer Wilson
  • Profile photo of winanss