Jorge Valenzuela
Three students work on an Hour of Code activity on a laptop

Each December, schools around the world celebrate Hour of Code. Launched by Code.org in 2013, the movement was designed to introduce computer science (CS) to students and also demystify it. It also commemorates the birthday of computing pioneer Grace Hopper.

Code.org packs an extensive library of activities and tutorials for teachers to use for Hour of Code. Some of the popular tutorials include Animate an Adventure GamecodeSpark Academy with the Foos: Create Games, Minecraft Voyage Aquatic and a favorite with my students, Dance Party!

Code.org’s website allows users to filter activities by grade or experience level, and even by the type of technology available to a classroom. There are even activities that work offline or unplugged

Whether this is your first Hour of Code or you've tried it before and want to level up your students' coding abilities, here are some suggestions to get you started.  

Get ready for Hour of Code

To ensure the day is successful for your students, you'll want to prepare some things in advance. Here's a checklist:

  • Review the Hour of Code educator guide.
  • Register your event with Hour of Code. Every school that registers gets recognition and registering allows Code.org to measure impact.  
  • Select 2-3 activities/tutorials for the entire week and try them out first. For me this step prepared me for helping students make connections to the previous lessons and knowing how to facilitate learning and also anticipating where some of them may get stuck.
  • Tailor any of Code.org’s lessons or activities to meet the needs of your class.
  • Prepare and print completion certificates for students.

Focus on core coding concepts

Make students aware that the Hour of Code can be the start of their coding and programming journey, and they should focus on some of the key concepts that are important to coding in every programming language. Some of these include:

  • Inputs: Users must be able to send information into programs they are interacting with. This can be done with various input devices or feeds. The most common are text files, striking keys on a keyboard or a data feed from a game controller with a motion sensor.
  • Outputs: Once data is inputted into a program, it will need to output responses. Responses are typically outputted to a screen via text or graphics, data to other applications or sound to a device. Printed documents are also output.
  • Loops: A programming structure used in programs to repeat a sequence of instructions until a specific condition is met. The two types of loops students should know how to use are counting loops and conditional loops (while loop and for loop)
  • Functions: Refers to a section of a program that performs a particular task, and in this context, a function represents a procedure or routine that contains instructions used for output from its input.
  • Conditional statements (logic): The ability to apply this concept makes programming powerful — as it enables the capability in applications to test variables against a value and act in a specific way if the condition is met by it (the variable) or differently if it is not. An example of this can be a logic statement for an operation that is evaluated to be either true or false. If and if/else statements are also an example of conditional statements and are the most common syntax across programming languages.
  • Variables: Refers to a storage space in memory that can hold value and can be stored and changed in a computer program. A variable changing can depend on either conditions or the information given to the program. Variable types can be expressed as characters, character strings, numeric values, memory addresses and even objects

Activities that focus on core coding concepts

To help your learners grasp the core coding concepts, try these Hour of Code lessons and tutorials:

Learning to code shouldn’t end

Like in math, CS is a discipline where it is always very important to keep the momentum going for helping students construct and connect learning after exposing them to something new. Like author Michael Korda said, “One way to keep momentum going is to have constantly greater goals.”

Here are some additional resources for Hour of Code and continuing learning about coding:


Teach computational thinking to all students in all subject areas. Explore the ISTE book Creative Coding.

Jorge Valenzuela is an award-winning educational coach, author, education advocate and adjunct professor at Old Dominion University. He is the lead coach for Lifelong Learning Defined, a national faculty of PBLWorks and a member of the Bit Stars Team for littleBits. Jorge was appointed by Virginia’s governor to serve on the STEM Education Commission for the 2019-20 school year and is the author of Rev Up Robotics Real-World Computational Thinking in the K–8 Classroom. Connect with him on Twitter and Instagram @JorgeDoesPBL to continue the conversation.