Title:                        "Mad Libs project"

Specifications:
Write a Mad Libs program that allows the user to enter words, which will be incorporated into the short story.
 
Category:
Computer Science

Sub-Category:
Programming

Project Description:
1. Wrote an original fairytale (approximately 2-3 paragraphs), underlining the words listed below. The fairytale included the following components (these are the words that will be replaced by the Mad Libs program):
 a. The name of the hero – include this name at least 3 times in the story.
 b. The name of the villain – included this name at least 3 times in the story.
 c. A place.
 d. A food.
 e. An action verb (ex. runs, jumped, ate, lifts, etc.).
 f. An adverb (ex. quickly, loudly, bravely, etc.).
 g. Two adjectives (ex. large, ferocious, cute, friendly, etc.).
 
2. Created a form that included the following elements for the user to input information:
 a. A textbox for the hero’s name.
 b. A textbox for the villain’s name.
 c. A textbox for a place.
 d. A textbox for a food.
 e. A select box that includes 4 different choices of action verbs.
 f. A textbox for an adverb.
 g. A textbox for each adjective (two textboxes total).  

3. Included two custom buttons: one to generate the new story with the replaced words and show it somewhere on the page, and one to show the original story with the original words to show on the same place on the page.
 
4. Included a rollover effect on the custom buttons.
 
5. Used an external style sheet to do all styling on the pages.
 
6. Used an output variable.
 
7. Made the replacement words a different size and color so they stand out from the rest of the story.
 
8. Wrote high quality code, including consistent formatting, indenting, and descriptive variable names.
 
Tools:
HTML and CSS.

Platforms: 
Windows

Things I learned:
Learned how to use an external style sheet for styling on the pages.
Learned how to Programmatically code for different scenarios.
Learned how to Programmatically track variables and values for different scenarios and display them at an appropriate place.
Learned how to code a reusable function.
Learned how to code for creating a custom button and change the characteristics.
Learned how to code for Standard HTML elements (a title, a header, buttons, and <div> elements).
Learned how to document code comments (including a comment before each function, code citations when appropriate, and citations for any images used).
Learned how to write a quality code that includes consistent formatting, indenting and descriptive variables.

Contribution: 
Individual.

Credits:
Mr. Jeremiah Moon, Computer Science Teacher.



Mad Libs Project
Published:

Mad Libs Project

Mad Libs program that allows the user to enter words, which will be incorporated into the short story.

Published: