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!

  • 要获得编程一小时活动的最佳体验,需要一台联网的电脑。 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”.
  • 在学生计算机或设备上测试这些指南,确保它们在播放器上的声音和视频能够正常运作。 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.
  • 如果教程包含音频,那么应提前准备耳机,或者让学生自带耳机。
  • Don't have enough devices? Use pair programming. 学生之间搭档之后,他们会互相帮助并减少对老师的依赖。 他们将明白编程也是一种社交和协作。

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!



  • 通过男孩和女孩们都关心的例子,介绍科技如何影响我们的生活(比如拯救生命,帮助人们,连接人们等)
  • 让全班一起来列出每天生活中用到编程的地方。
  • See tips for getting young women interested in computer science here.

6. Get coding!



  • "我也不知道。让我们一起来找到问题的答案吧"。
  • “科学技术并不总是同我们期望的方式一样工作。”
  • “学习编程就像是学习一门新的语言(事实上就是-我们一直都将学习编程称作学习编程语言,你现在学的这种叫Blocky?);你不会马上就说得很流利。”


7. Celebrate your students' success



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.