Hosting an elected official at your Hour of Code

Inviting an elected official to your Hour of Code event will show your representative the impact and need for computer science education, and your students will be inspired by a role model in government.

In order to run a successful Hour of Code event while engaging elected officials, complete these tasks prior to the elected official attending your school. The task includes coordination with their point of contact, media invitations, waivers, and planning your agenda.


Invite an elected official

Determine the point person for both your event and the elected official.

Before Hour of Code

Coordinate both the point person from your event (e.g., school administrator) and for the elected official attending (e.g., staffer or scheduler). Ensure both parties have each other's contact information for the day of the event.

From left to right: Governors from Arkansas, North Carolina, and Arizona participating in an Hour of Code

Register your event

Work with the parties organizing your Hour of Code event to register and put your event on the map. You'll receive early access to information about new activities and special promotions!

You can also view the Hour of Code map to see your event, and know that your dedication is part of a worldwide movement.

Register your event

Choose your activities

This year, the Hour of Code theme is Creativity with Artificial Intelligence (AI). Whether it’s coding new apps and algorithms, generating unique art, or crafting choreography to get us dancing, AI is opening up fresh opportunities for digital expression that expand our understanding of creativity. Make this year special by completing a coding activity AND learning about AI.

First, explore hundreds of coding activities and choose one based on your group's age, experience, interests and more. These select activities feature artificial intelligence as a key topic or lesson.

Then, learn all about AI. Students can watch short videos featuring experts in the field, and there are accompanying lesson plans to extend the activity and guide further discussion. Or, we offer free professional learning for educators to unlock the future of teaching with and about AI.


Plan your event

Create a specific agenda for the day and make sure all parties participating (teachers, students, administrators, elected officials and their staff) are aware of what is happening and when. Things to consider:

  • What is each participant doing during each part of the event?
  • Will the official sit with one student, or rotate between many students during the event? (You may want to coordinate this ahead of time with the official's staffer.)
  • Will the official speak to the students as a group?
  • Plan flexibility into the agenda. What if the official is running late? What if some students finish their activity before others?

Here's a sample agenda to get you started:

  • 10:00 - 10:05 am: Open with one of our inspirational videos.
  • 10:05 - 10:15 am: Principal gives an intro overviewing the importance of computer science. Use these stats and infographics.
  • 10:10 - 10:15 am: Elected official to talk about their background and how technology and computer science plays an important role in their everyday life.
  • 10:15 - 10:55 am: Students do their Hour of Code activity. Fun twist: have a group of students teach the principal, politician, or other students!
  • 10:55 - 11:00 am: Teacher/administrator gives closing remarks.

Coordinate with Media

Know who will be responsible for coordinating media invitations. It could be the school, the district, the official's office, or any combination.

Secure media waivers for all students, per your state/district/school policy.


Confirm all details

Send the public agenda to the official 72 hours prior to the event. Include event dress code, who will greet them, which classroom or event they will attend with teacher's name, and agenda for the event.

Review the agenda and test all technology the day before and day of the event to ensure the event runs smoothly.


Get coding!

To ensure the elected officials feel welcome and engaged, greet the elected official at the door of the event to show them where to go and answer any questions they may have. It is always great to have a student help greet them!

Day of Hour of Code

Take pictures during the event to commemorate the visit and to post on your organization's social media networks. (Publicity or privacy policies may apply).

Make sure the agenda is running smoothly and that it remains on track to end on time. The official may have other visits or meetings scheduled following your event.


After the event

After a successful Hour of Code event, make sure to:

  • Celebrate! Print certificates of completion and congratulate your students.
  • Thank the official for their time and offer to answer any follow-up questions they may have.
  • Post pictures, videos, or notable quotes from the day on social media with #HourOfCode and @codeorg. (Publicity or privacy policies may apply.)
  • Send the official a follow-up thank you note. It's especially thoughtful to get students to sign!
  • Follow up with the staff point person on each side for feedback on how to make next year’s event even better.

Beyond Hour of Code

Die Hour of Code ist erst der Anfang! Denn obwohl 90 % der Eltern möchten, dass ihr Kind Informatik lernt, wird das Fach an den meisten Schulen immer noch nicht unterrichtet und hunderttausende Stellen bleiben unbesetzt. Erfahren Sie, wie Sie Informatik an mehr Schulen in Ihrer Nähe einführen können und setzen Sie sich dafür ein, dass Informatik eine Voraussetzung für den Schulabschluss wird.

After Hour of Code

Become an advocate

Häufig gestellte Fragen

View more FAQs
Was ist die Hour of Code?

Hour of Code (Stunde des Codes) begann als einstündige Einführung in die Informatik. Sie sollte zeigen, dass der "Code" kein Mysterium ist und jeder die Grundlagen erlernen kann, und sie sollte das Interesse an Informatik wecken. Inzwischen ist daraus eine weltweite Initiative zur Förderung der Informatik geworden. Aus einer Stunde Programmieren entstanden die unterschiedlichsten Aktivitäten für die Community. Sehen Sie sich die Tutorials und Aktivitäten an. Diese Basiskampagne wird weltweit von über [400 Partnern]/us/de/partners) und 200.000 Pädagogen unterstützt.

Warum Informatik?

Jeder Schüler sollte die Möglichkeit haben, Informatik zu lernen. Dieses Wissen fördert die Problemlösungsfähigkeiten, das Logikverständnis und die Kreativität. Außerdem werden schon früh die Grundlagen für den Erfolg im Berufsleben des 21. Jahrhunderts festgelegt. Weitere Fakten und Zahlen finden Sie unter [here]/us/de/promote/stats

Wie kann ich an einer Hour of Code teilnehmen?

Beginnen Sie hier mit der Planung, indem Sie sich unsere Anleitung lesen. Sie können eine Hour of Code-Veranstaltung an Ihrer Schule oder in Ihrer Gemeinde organisieren z. B. in einem außerschulischen Verein, einer gemeinnützigen Organisation oder am Arbeitsplatz.

Weitere Ressourcen von Hour of Code

Promotional Resources

Find all the resources you need—print and digital—to bring attention to your Hour of Code.

Discover Activities

Explore a wide selection of one-hour tutorials designed for all ages in over 45 languages.

So können Sie mitmachen

Verbreiten Sie Informationen über Hour of Code! Finden Sie Möglichkeiten, wie sich Ihre Community beteiligen kann.