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, finishing with a fun snowman project. Requires good typing skills and a keyboard. Recommended ages: 8+.
  • 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+.
  • 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+.
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 during CS Education Week (December 3-9, 2018). Our hope is that many students will want to keep going with many more hours of computer programming and computer science.

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. Google Chrome is preferred, but Safari 5, Internet Explorer 11, Microsoft Edge, and Mozilla Firefox should also work. IE8 will not work. ChromeBooks should work, since they use Google Chrome.
  • Provide headphones or ask students to bring headphones. You can buy disposable headphones in bulk on Amazon.
  • Register on 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. Once signed up, you can visit the Student Progress tab and select the 'Hour of Code' option from the dropdown so that you can monitor your students' progress: 
    Screenshot of progress tracking

During Hour of Code

After Hour of Code

  • If you signed up as a coach, check out the programs that your students made for the final project on your class programs page. Vote them up, leave nice comments, and encourage your students to share them (by clicking the "Share" button in the top right).
  • Print out a certificate for each student that completes. Once your student has done the challenges, you should get a notification and a link to a certificate for that student.
  • 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 email us with additional comments and questions at, or post in the discussion below.
Is the curriculum translated into different languages?
The lessons are fully translated in Spanish, Portuguese, Polish, and Serbian. They are partially translated in Czech, Italian, French, 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.