← Back to Blog
EdTech10 min read

Hour of Code Lesson Plans for Elementary and Middle School (No Experience Needed)

You Do Not Need to Know How to Code

Hour of Code happens every December during Computer Science Education Week (the week of December 9). It is a worldwide initiative to introduce students to coding through one-hour activities. And here is the most important thing: you do not need to know how to code to teach it.

The platforms do the heavy lifting. Your job is to facilitate, encourage, and keep students on track. This guide gives you everything you need.

What Is Hour of Code?

Hour of Code is not a curriculum or a program. It is a one-hour introduction to computer science, designed to show students that coding is accessible, creative, and fun. The goal is not to produce programmers -- it is to demystify technology and build computational thinking skills.

Over 100 million students worldwide have participated since 2013.

Choosing the Right Platform

Grades K-2

Code.org Course A Activities

  • Drag-and-drop block coding
  • Characters students recognize (Angry Birds, Frozen, Moana)
  • Built-in tutorials with video instructions
  • No reading required for many activities

ScratchJr (free app for tablets)

  • Students create animated stories and simple games
  • Drag-and-drop interface designed for ages 5-7
  • No reading required

Grades 3-5

Code.org Hour of Code Activities

  • Wide variety of themed tutorials (Star Wars, Minecraft, Dance Party)
  • Self-paced with hints and help built in
  • Students can create and share their projects

Scratch (scratch.mit.edu)

  • More open-ended than Code.org
  • Students create animations, games, and interactive stories
  • Large online community for sharing projects
  • Best for students who want creative freedom

Grades 6-8

Code.org App Lab

  • Students build simple apps
  • Introduces real programming concepts (variables, conditionals, loops)
  • Great bridge between block coding and text-based coding

Tynker

  • Game-based coding challenges
  • Progression from blocks to Python and JavaScript
  • Students who fly through beginner levels can advance to real text coding

Khan Academy Intro to JS

  • Text-based JavaScript with immediate visual feedback
  • Students draw shapes and animations using code
  • Good for students who are ready for "real" coding

Unplugged Activities (No Computers Needed)

If you have limited devices or want to start with conceptual understanding before screens, these unplugged activities teach the same computational thinking skills:

Robot Commands (Grades K-3)

One student is the "robot" and one is the "programmer." The programmer gives step-by-step instructions to navigate the robot through an obstacle course (desks and chairs). The robot can only follow exact instructions: "Step forward. Turn left. Step forward. Step forward."

The AI tool teachers actually use

24 AI-powered tools built specifically for teachers. Lesson plans, rubrics, quizzes, report cards — all in one place.

Try LessonDraft Free

Learning: Algorithms are step-by-step instructions. Computers only do exactly what you tell them.

Binary Bracelets (Grades 3-5)

Teach students that computers store all information as 0s and 1s (binary code). Give each letter a binary value. Students spell their name in binary using two colors of beads on a bracelet or string.

Learning: All digital information -- text, images, video, music -- is stored as patterns of 0s and 1s.

Conditional Freeze Dance (Grades K-2)

Play music. When the music stops, give a conditional statement: "IF you are wearing blue, THEN jump three times. ELSE, spin around." This teaches if/then/else logic -- one of the most fundamental programming concepts -- through movement.

Paper Airplane Programming (Grades 4-8)

Students write step-by-step instructions for making a paper airplane. Trade instructions with a partner. The partner must follow the instructions EXACTLY as written. If the instructions say "fold the paper" without specifying which direction, the partner folds it however they want.

Learning: Precision matters in programming. Computers do not interpret or guess -- they follow instructions literally.

Running Hour of Code in Your Classroom

Before the Day

  1. Test the platform on your classroom devices. Make sure the website loads and there are no firewall issues.
  2. Create accounts if needed. Code.org allows guest access, but accounts let students save their work.
  3. Have a backup plan. Technology fails. Have an unplugged activity ready in case of internet outages or device problems.
  4. Set expectations. "Today we are learning to code. It is okay to be confused. It is okay to make mistakes. That is literally how coding works."

During the Hour

  1. Show the introductory video (Code.org has short, inspiring videos featuring tech leaders).
  2. Let students work. Resist the urge to help too quickly. Struggle is part of the learning process.
  3. Circulate and encourage. Ask questions like "What have you tried?" and "What do you think will happen if you change that block?"
  4. Celebrate the process, not just the product. "I saw you try three different solutions before you found one that worked. That is what real programmers do."

After the Hour

  1. Debrief. What was hard? What was fun? What surprised you?
  2. Connect to careers. Computer science is not just for "tech people." Doctors, artists, farmers, musicians, and teachers all use technology.
  3. Print certificates. Code.org generates certificates for students who complete an Hour of Code. Kids love them.
  4. Keep going. If students are hooked, point them toward free resources: Code.org courses, Scratch, Khan Academy, and CS First by Google.

Common Teacher Concerns

"I do not know anything about coding." You do not have to. The platforms teach the content. You are the facilitator, not the expert.

"My students will finish at different speeds." That is fine. Fast finishers can try a different tutorial or help classmates. Code.org has multiple activities at every level.

"I only have 30 minutes, not a full hour." Do what you can. Even 30 minutes of coding is valuable. You can split it across two days.

"Some students will be way ahead of others." Perfect. Pair advanced students with beginners. Teaching someone else is the best way to solidify your own understanding.

Beyond the Hour

Hour of Code is a gateway. If your school does not have a computer science curriculum, advocate for one. Every student deserves exposure to computational thinking -- not because every student will become a programmer, but because technology shapes every aspect of modern life.

Free curricula to explore: Code.org's full CS Fundamentals course (K-5), CS Discoveries (6-8), and CS First by Google (K-8). All are designed for teachers with no CS background.

Get weekly lesson planning tips + 3 free tools

Get actionable lesson planning tips every Tuesday. Unsubscribe anytime.

No spam. We respect your inbox.

The AI tool teachers actually use

24 AI-powered tools built specifically for teachers. Lesson plans, rubrics, quizzes, report cards — all in one place.

15 free generations/month. Pro from $5/mo.