Please enable JavaScript to use CodeHS

Mad Libs

In this project, students write a program that allows users to create their own Mad Lib stories using functions and lists.


6 Hours

High School

Project Description

Project Demo

Explore this program before assigning it!

Project Overview

Here is an outline of the project activities:
Mad Libs Demo
Collecting the Placeholders
Getting User Input
Replacing a Placeholder
Generating the Mad Lib
Write your own Mad Lib!
Mad Lib Extensions