SMALL PROJECTS / HANDS-ON JAVASCRIPT
Mad Libs Story Library
Turn six everyday words into an unexpected adventure. Choose a story, supply the missing words and see what happens.
How it works
Choose a story and enter six words, or use the example words.
The script reads the selected template and inserts your words into the matching parts of the story. It displays the finished story as text, so typed HTML is not executed.
Concepts: Strings, objects, form events and safe text output.