If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Using Hour of Code in your classroom

What is Hour of Code on Khan Academy?

On Khan Academy, we offer multi-hour, self-paced courses in JavaScript, HTML/CSS, and SQL. For Hour of Code, we have curated one-hour introductions to each of those topics.
You and your students can check out all of our offerings here:
Here's a breakdown of what you'll pick from:
  • Hour of Drawing with Code: This hour teaches your students to program using JavaScript, one of the world's most popular programming languages. They'll use JavaScript to program drawings and finish with a fun project to draw either a snowman, animal, or self-portrait. Requires good typing skills and a keyboard. Recommended ages: 8+.
A digital drawing of a penguin
  • Hour of Webpages: This hour teaches your students to make their own webpages using the basics of HTML and CSS, finishing with a holiday greeting card. Requires good typing skills and a keyboard. Recommended ages: 8+.
An illustration of a webpage with a snowman and the greeting "Happy holidays"
  • Hour of Databases: This hour teaches the fundamentals of databases, which are how apps store data about users and content. Your students will use SQL to create tables with data and query them, finishing with a project to create a database for an imaginary store. Requires good typing skills and a keyboard. Recommended ages: 12+.
An illustration of a database table with rows and columns
Each option includes the following content:
  • Instructional videos and “talk-throughs”. Talk-throughs are like videos, but you can pause them and play with the code in realtime.
  • Coding challenges, which give the student a chance to practice the concept and give us a way to automatically grade them and award points.
  • A final project, a way for students to use what they’ve learned in a more creative, free-form way.
We believe that it will take students about an hour to get through any one of the options. However, we also believe on Khan Academy that students should be able to learn at their own pace, so we encourage you to give students more than an hour (like 1.5-2 hours), or make it clear that they don’t need to finish the entire lesson.
What is Hour of Code?
Hour of Code is an initiative to encourage students to spend an hour learning to program and takes place annually during CS Education Week in December. Our hope is that many students will want to keep going with many more hours of computer programming and computer science.
Khan Academy video wrapper
Hour of Code - WORLDWIDESee video transcript

How can I use Khan Academy's Hour of Code lessons in my classroom?

Before Hour of Code

Prepare your classroom
  • Make sure you have a computer for each student, or a computer for each pair of students. If students pair up (“pair programming”), then make sure they take turns being the typer and the watcher.
  • Make sure you have good internet access in the classroom, as you will need that to access Khan Academy content, particularly the videos and talk-throughs. See this guide for more info.
  • Make sure you have a compatible browser installed on the computers. See our list of supported browsers.
  • Provide headphones or ask students to bring headphones. You can buy disposable headphones in bulk on Amazon.
  • Register on Code.org to be eligible for freebies and prizes for your classroom.
  • (Optional) If you plan to do the Hour of Drawing with Code, print out the graph paper handouts, one of each per student.
Prepare yourself
  • Go through the tutorial yourself so that you are familiar with what your students will be experiencing.
  • (Optional) Sign up as a coach on Khan Academy and add your students. That will make it easy for you to track their progress. See this guide for instructions

During Hour of Code

After Hour of Code

  • If you signed up as a coach, check out what your students made for the final project by visiting the Projects tab in the teacher dashboard.
  • Print out a certificate for each student that completes a tutorial. Download a PDF here
  • Encourage your students to continue learning to program on Khan Academy, using our full curriculum. Everything on Khan Academy is free so all you and your students need to do is signup!
  • Share your stories with us! We'd love to see photos or videos of your students working through our lessons or screenshots of the projects they make. Share them on Twitter or Instagram, tagging @khanacademy #hourofcode.
Thank you for encouraging the next generation of computer scientists!

Frequently Asked Questions

Feel free to post additional questions or comments in the discussion below.
Is the curriculum translated into different languages?
The lessons are fully translated in Spanish, Portuguese, Polish, Bulgarian and Serbian. They are partially translated in Czech, Italian, French, Hungarian, and Korean.
In translated languages, the talk-throughs are dubbed, and challenge instructions, project descriptions, and error messages are translated. Interactive talk-through transcripts in these languages are also available so learners can go at their own pace, in their own language.
Is the curriculum accessible to deaf students?
Yes, there is a transcript option available for the talk-throughs. Click the gear menu next to the play bar and select "Interactive Transcript." Students can pause the talk-through if it is going too quickly.
Is the curriculum accessible to blind students?
We try to support screen-readers on the KA website, but there are many aspects of the coding experience that are not yet optimized. We instead recommend the accessibility-optimized Quorum Hour of Code.
Do the tutorials work on ChromeBooks?
ChromeBooks use the Google Chrome browser, which is one of Khan Academy's supported browsers, so yes, all of the tutorials should work well on a ChromeBook.
Can students continue working on Hour of Code after the class?
Yes! They can work on it at their own pace at any time. They should sign up for an account in the classroom if they want to easily pick up at home from where they left off in the classroom.
Do students need a Khan Academy account to use the curriculum?
They do not need a Khan Academy account, but they may enjoy it because having an account will allow them to track their progress and earn points and badges.

Want to join the conversation?