Create a Mad Lib program in JavaScript.
Your program must ask the user for at least 4 different words and then fill them into a story. Also, you shoul use one word at least twice.
Make up your own MadLib similar to one of the examples below:
Example 1: |
My favorite book is "__________ (name of a person) Potter and the Chamber of __________ (noun, plural)." |
Example 2: |
Today I went to the zoo. I saw a _____________ (noun) jumping up and down in its tree. |
Example 3: |
Our cafeteria is wierd. Today I saw _______ (name of person) drinking _____ (a liquid) with lunch. |