Create a simple Mad Lib game using JavaScript. (A Mad Lib is a game where one player
Question:
Create a simple Mad Lib game using JavaScript. (A Mad Lib is a game where one player prompts others for a list of words to substitute for blanks in a story before reading aloud.) In your version, the web page will prompt the user for some words, and it will substitute the words in the saying, “Don’t count your chickens before they hatch!”
Please follow these directions step-by-step in the body element:
1. Start a script tag
2. Prompt the user for a verb and store it into a variable.
3. Prompt the user for a plural noun and store it into a variable.
4. Prompt the user for another verb.
5. Use the alert method to output Here is your Mad Lib: and then show the Mad Lib with the user’s words substituted in the phrase, Don’t ___ your ___ before they ___!
6. Make sure you have correct spacing and the exclamation mark.
7. In the same alert message, output the original phrase preceded by for a new line.
8. After the script closes, output the word Goodbye in h1 tags.
HERE