Please enable JavaScript to use CodeHS

Hour of AI

Explore one-hour AI activities and lesson plans for your classroom.

19 activities

Introduction to AI-Assisted Coding

In this activity, students learn how to use AI as a coding partner to design and build their own Connections-style word game. They will explore how to prompt …

Prompt Power: Getting the Best from AI

In this activity, students learn the basics of prompt engineering by experimenting with AI chatbots. They will compare simple and detailed prompts, refine their inputs through iteration, and …

How Are AI Models Trained?

In this activity, students explore how AI models learn from training data through hands-on simulations. They will see how examples shape AI predictions, test their own training sets, …

Communicating with AI

In this activity, students explore how AI can recognize and respond to different communication systems. They will test AI models trained to recognize letters and sign language, then …

Sentiment Analysis

Students explore how AI interprets human emotions in text using a processcalled Sentiment Analysis. Through examples, discussions, and hands-on model training, students will see how context, tone, and …

Machine Learning and Music Classification

In this activity, students build, train, and test a machine learning model to classify music into genres using Teachable Machine. They explore how the amount and variety of …

Vibe Coding a Website

Students use CodeHS Vibe Coding to recreate a website with AI. They compare results from simple and detailed prompts, refine their instructions, and reflect on how prompt design …

Requires CodeHS Pro with Vibe Coding enabled.

Sorting with Decision Trees

Students will learn how AI uses data to make decisions by practicing sorting with simple rules. They will create and test their own decision trees to classify objects.

Machine Learning: What is a Blorg?

Students learn how AI recognizes patterns in data by training themselves to identify aliens called “blorgs.” They then create and share their own alien species to practice how …

How Machines Learn

In this activity, students learn about different machine learning approaches and explore how computers use data to recognize patterns and make predictions. They practice classification by building and …

AI Products: Ethical and Responsible Choices

Students learn how everyday AI, from self-driving cars to translation apps, learns from data. Groups weigh the pros and cons of one AI product for the people who …

Sorting with Charts

Students learn how AI tools use patterns to sort information. They sort emojis with rules, decision trees, and charts, fix the computer's question when it sorts something wrong, …

From Prompt to Product: Mastering AI Prompt Engineering

Participants explore how generative AI responds to different prompts and learn strategies for effective prompt engineering. They practice with tools like Google’s Say What You See and then …

AI Basics: From Predictions to Creations

Participants explore the fundamentals of artificial intelligence by learning the difference between generative and predictive AI, experiencing real-world examples, and creating their own image classification model with Teachable …

From Idea to App: Rapid AI Prototyping

Participants learn what a prototype is and use Bool, an AI-powered app builder, to turn their own idea into a working app. Through brainstorming, building, and refining, they …

Weather Control

In this lesson, students will use Tynker's AI (artificial intelligence) body tracking model to create a fun, interactive project where they can control the weather using gestures.

Balancing Act

In this lesson, students will use Tynker's AI (artificial intelligence) body tracking model to create an interactive game where the player balances a ball on a platform using …