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!



  • 「我也不知道,我們一起找出方法吧。」
  • 「科技不見得是以我們想的方式運作。」
  • 「學習程式設計就像是學習新的語言;你不會馬上就上手。」


7. Celebrate your students' success


Hour of 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.