Hour of Code: Unleashing Creativity with Machine Learning Projects

Join the global movement celebrating computer science and artificial intelligence with the Hour of Code and the Hour of AI! These initiatives make coding and AI accessible to everyone through engaging, one-hour projects. With women still underrepresented in computer science, introductory programs like these play a vital role in demystifying technology and inspiring young people to become creators.

From Coding Basics to AI Exploration

The Hour of Code offers a variety of projects suitable for all skill levels. You can start with the fundamentals of web development and then advance to exploring the world of artificial intelligence.

Building Your First Webpage: HTML & CSS

Learn the basics of HTML and CSS to craft your own webpage. Discover how to add text, headlines, images, and lists, transforming a blank canvas into a personalized online space.

Adding Visual Flair with JavaScript

Take your webpage design skills further by incorporating JavaScript to create dynamic graphics. Control the shape, size, position, and color of objects on the screen, adding visual interest and interactivity to your creations.

Creating an Image Gallery

Showcase your favorite memories or artistic creations by building an image gallery using code. This project teaches you how to display and manage images on a webpage, perfect for sharing your experiences with the world.

Read also: Deep Dive: 300-Hour Yoga Training

Diving into Artificial Intelligence

Computer science extends beyond coding, and the Hour of Code introduces you to the exciting field of artificial intelligence.

Minecraft and AI: Preventing Forest Fires

Explore AI with Minecraft and Code.org by programming the Minecraft Agent to collect data about forest fires. Write code to help prevent the fire's spread, protect the village, and restore the forest. Learn about AI, machine learning, training data, and bias, while exploring ethical issues and how AI can address real-world problems.

Mix & Move with AI: Unleash Your Inner Choreographer

Building on the Hour of Code, the Hour of AI allows students to move from consuming AI to creating with it. With Code.org's Mix & Move with AI, design a dancer, remix music hits, and choreograph a dance routine. Use AI prompts for inspiration and take control to make the final creation your own. No prior experience is needed.

Hour of AI: A World of Possibilities

The Hour of AI, taking place during Computer Science Education Week (December 8-14, 2025), offers a suite of activities that help learners explore the power and possibilities of AI through creativity, play, and problem-solving.

Solving Real-World Challenges: AI Quests

Step into the shoes of a Google researcher with Google’s AI Quests and simulate using AI to solve real-world challenges. This immersive adventure takes middle school students through the processes Google’s top researchers use, all while promoting active learning.

Read also: The Hour of Code: A Deep Dive

Survive the Night in Minecraft with the Help of AI

Team up with an AI agent in a classic Minecraft challenge and train it to recognize resources, craft tools, and build shelter before the sun sets. Solve coding puzzles with MakeCode blocks or Python, explore creative collaboration with AI, and learn why AI tools require human oversight.

Exploring AI with Scratch Face Sensing Blocks

Use Face Sensing blocks in Scratch Foundation’s creative activity to control a project using facial features. Draw with your nose, create face filters, and make a game to discover how predictive AI blocks enhance the user experience. Test for false negatives or positives and discover the creative possibilities of AI with this data-safe, fun activity.

Explore Animal Training with LEGO® Education

The activity submitted by LEGO® Education, Modeling Machine Learning, invites students to build and train an animal of their choice using LEGO® bricks or classroom materials. Students discover the parallels between creating a model of an animal and learning how to teach animals new behaviors, similar to how computers are trained to respond to visual inputs. Unleash your imagination with hands-on materials and interactive development to demystify AI and machine learning models - no technology required.

Hour of Code with Python

According to the PYPL index, Python has been the most searched programming language in the world for the last 3 years. Python is also included in the TOP-5 most in-demand programming languages in 2022. This year, more than 30,000 students started their Python learning journey with us!

Zookeeper

In Zookeeper, you need to help a local zoo monitor the condition of animals that live there.

Read also: Tuition Fees at University of Phoenix

Chatty Bot

You will be able to give it a name and teach it to play some word and number games to pass time.

Hangman

The rules are simple: the computer will think of a word, and you will have to guess it letter by letter. If you fail, you will be “hanged”, and if you win, you will survive. With functions, loops, lists, and different types of variables, this is a great project to test your knowledge of Python fundamentals.

Smart Calculator

With this project, you will be able to make informed decisions based on different financial parameters.

Tic-Tac-Toe

Taking turns, you and your opponent need to put Xs and Os on a three-by-three field. The first one to fill three cells in a straight line wins.

Integrating AI Education

Artificial Intelligence is transforming the world around us-from the apps we use daily to the systems that shape entire industries. Teaching students about AI helps them become thoughtful creators and informed users, preparing them for the challenges and opportunities of the future.

AI Curricula for Elementary School (Grades 3-5)

  • How AI Makes Decisions: Introduce young students to AI and machine learning with hands-on activities using predictive data models. Students will practice making their own predictions and learn about data categorization and sorting.
  • AI for Oceans: In this fun introduction to artificial intelligence, you train a real machine learning model to identify sea creatures and trash in the ocean.
  • Dance Party: AI Edition: Learn about artificial intelligence (AI) concepts to create your own virtual dance party showcasing today's top artists. With dozens of songs to choose from, reach every student no matter their music taste. It's time to strut your stuff!

AI Curricula for Middle and High School

  • Artificial Intelligence Foundations (Grades 9-12): A free, flexible curriculum that introduces students to the core principles and real-world applications of computer science.
  • Exploring Generative AI (Grades 8-12): Empower students with hands-on projects and ethical insights into generative AI, equipping them to think critically and innovate in an AI-driven world.
  • Generative AI for Humanities (Grades 6-12): This unit includes two standalone lessons - one on writing with AI and one on researching with AI-designed for Humanities classes to demystify ethical and effective chatbot use, encouraging students to explore and reflect on these technologies.
  • Coding with AI (Grades 6-12): The Coding with AI unit teaches strategies for using AI to simplify complex concepts, guide problem-solving, and even generate code, empowering students to become informed and ethical future coders.
  • Societal Impact of Generative AI (Grades 7-12): Investigate the impact of generative AI from different perspectives, then collaborate as a team to come up with guidelines that address the most needs from all participants.
  • Computer Vision (Grades 9-12): Explore how artificial intelligence interprets visual data through our computer vision units.
  • How AI Works (Grades 6-12): These lessons supplement the How AI Works video series. Each lesson is paired with a single video from the series, diving-deeper into the concepts introduced in the videos.
  • AI and Machine Learning (Grades 6-12): Explore how computers learn from data to make decisions, then develop projects around real-world data and design an app to solve a personally relevant problem.
  • Our AI Code of Ethics (Grades 7-12): Explore the societal impacts of artificial intelligence on society, both the intentional solutions that can be beneficial to society and the unintended consequences that may be harmful to society.
  • AI for Oceans (Grades 3-12): In this fun introduction to artificial intelligence, you train a real machine learning model to identify sea creatures and trash in the ocean.
  • Dance Party: AI Edition (Grades 3-8): Learn about artificial intelligence (AI) concepts to create your own virtual dance party showcasing today's top artists. With dozens of songs to choose from, reach every student no matter their music taste. It's time to strut your stuff!

Preparing Educators to Teach AI

Empower yourself with the knowledge and tools to effectively teach AI and machine learning in the classroom.

  • Teaching AI Foundations (9-12 Teachers): Provides educators with a comprehensive understanding of the curriculum, enabling them to effectively guide students through essential computer science concepts, the transformative role of AI, and hands-on experience with AI tools.
  • Teaching Exploring Generative AI (8-12 Teachers): This professional learning module prepares teachers to guide 8-12 students through Code.org's Exploring Generative UI units.
  • Teaching How AI Makes Decisions (3-5 Teachers): This professional learning module equips educators to teach Code.org's How AI Makes Decisions module, where students (grades 3-5) explore AI concepts through engaging activities, data exploration, and decision making.
  • Teaching Coding with AI (6-12 Teachers): This professional learning module prepares teachers to guide students through Code.org's Coding with AI unit, where students leverage Large Language Models to write more powerful code while exploring ethical considerations and responsible AI use.
  • Teaching Computer Vision (9-12 Teachers): This professional learning module equips educators to teach Code.org's Computer Vision unit, where students (grades 6-12) explore image and video analysis through engaging activities and discussions on ethics and real-world applications.
  • Teaching AI and Machine Learning (6-10 Teachers): After completing this professional learning experience, you'll be ready to get started teaching Code.org’s CSD Unit 7 - AI and Machine Learning with your students.
  • AI 101 Self-Paced Professional Learning (K-12 Teachers): Foundational online learning series for any teacher or educator interested in the groundbreaking world of artificial intelligence (AI) and its transformative potential in education.

AI Integrations

AI Teaching Assistant: Elevate teaching confidence and streamline assessment of student progress. This tool heralds a new chapter in personalized learning and instructional excellence.

How AI Works: This series of short videos will introduce you to how artificial intelligence works and why it matters. Then delve into issues like algorithmic bias and the ethics of AI decision-making.

The Hour of AI: A Global Movement

The Hour of AI makes teaching AI literacy easy, engaging, and fun. Empower your students to become the next generation of innovators with AI.

Lead an Hour of AI Activity

Get started with activities that combine AI+CS education with music, science, design, and more.

  • Mix and move with AI (Grades 2-12): Design a dancer, mix music, and choreograph a dance routine-all in one experience. Jump-start your coding with AI to amplify your creative power!
  • Music Lab: Jam Session (Grades 2-12): Remix tracks from artists like Sabrina Carpenter, Lady Gaga, and Shakira while exploring coding basics like sequencing, functions, and generating beats with AI.
  • Minecraft Tutorials (Grades 2-12): Build and explore with Minecraft! Learn basic computer science skills with lots of different Minecraft activities to choose from.
  • Dance Party: AI Edition (Grades 3-8): Learn about artificial intelligence (AI) concepts to create your own virtual dance party showcasing today's top artists. With dozens of songs to choose from, reach every student no matter their music taste. It's time to strut your stuff!
  • AI for Oceans (Grades 3-12): In this fun introduction to artificial intelligence, you train a real machine learning model to identify sea creatures and trash in the ocean.

Make the Invisible Visible

Make the Invisible Visible encourages the next generation of creators to explore, craft, and showcase how coding can bring their favorite things to life. Computer science and AI are wondrous forces that drive the epic apps, designs, and gadgets we use every day. This movement helps to highlight how coding is behind everything from your favorite shoes to the music you listen to.

This Hour of AI activity will consist of students using a micro:bit and CreateAI to train their own machine learning model on a waving action. This this process, students will see firsthand how machine learning models can exhibit bias depending on the data it's trained on.

tags: #hour #of #code #machine #learning #projects

Popular posts: