Activities for Grades 9-12


Create your own app in JavaScript using blocks or text. You'll make a simple app with buttons, images, sounds and multiple screens that you can share with your friends or publish to a public gallery. If you've already done some coding with blocks, take your skills to the next level.

  • Type of Activity: Student-guided
  • Language(s): English only
  • Devices: Computers or Chromebooks
  • Length of Activity: 45 - 60 minutes

Educator Resources


Build a live interactive website that uses a Machine Learning model to recognize your and your friends' hand-drawn emojis! Along the way you'll get hands-on practice with core concepts of Machine Learning: 1) gathering data, 2) cleaning and formatting the data, 3) training the model, and 4) using the trained model to make predictions.

  • Type of Activity: Student-guided
  • Language(s): English only
  • Devices: Computers or Chromebooks
  • Length of Activity: 60 minutes

Educator Resources


Use algebra and the WeScheme Editor to learn the basics of programming with Bootstrap! Great for algebra I integration.

  • Type of Activity: Student-guided
  • Language(s): English only
  • Devices: Computers or Chromebooks
  • Length of Activity: 45 - 60 minutes

Educator Resources



Create interactive art using JavaScript programming! Learn to draw and animate shapes with code to create interactive artwork inspired by artists. Great for art integration!

  • Type of Activity: Student-guided
  • Language(s): English only
  • Devices: Computers or Chromebooks
  • Length of Activity: One hour or more

Educator Resources


Increase students' awareness of the problem of plastic pollution, and the growing Great Pacific Garbage Patch. Students will use JavaScript (text-based programming) to create a project to help promote awareness of the Ocean's plight. Great for science integration!

  • Type of Activity: Student-guided
  • Level: Intermediate, Advanced
  • Language(s): English only
  • Devices: Computers, Chromebooks, or iPads
  • Length of Activity: 45 - 60 minutes

Educator Resources


Students are introduced to the need for encryption and simple techniques for breaking (or cracking) secret messages. They try their own hand at cracking a message encoded with the classic Caesar cipher and also a Random Substitution Cipher.

  • Type of Activity: Student-guided
  • Language(s): English only
  • Devices: Any!
  • Length of Activity: 30 to 60 minutes

Educator Resources


Act as the "computer" as you read and interpret the programs to find the right trajectory and win the challenges. You will have to focus and use your intuitive abilities to understand some core concepts of programming.

  • Type of Activity: Student-guided
  • Language(s): English only
  • Devices: Computers or Chromebooks
  • Length of Activity: 30 minutes to 2+ hours

Educator Resources



First, level up your Python or JavaScript programming skills by coding your way out of danger and grabbing sweet loot. Then use your programming powers to build your own game and see if your friends can beat it!

  • Type of Activity: Student-guided
  • Language(s): English only
  • Devices: Computers or Chromebooks
  • Length of Activity: 45 minutes - 3+ hours

Educator Resources

Conditionals with Cards



Learn about algorithms and conditional statements in this fun unplugged activity using a deck of cards.

  • Type of Activity: Teacher-guided
  • Language(s): N/A
  • Devices: None - unplugged
  • Materials: playing cards (1 deck per team)
  • Length of Activity: 30 to 60 minutes

Lesson Plan // Video

Explore activities for robotics and physical computing here.

Visit hourofcode.com/us/learn for more options, too!