Input:
Output:
When the app loads it starts in "input", or normal mode. In input mode, the user can add adjectives to their adjectives list with each Submit.
When the user inputs "create", change the game mode to create mode. In create mode, each Submit prompts the app to complete your Mad Lib.
Input:
Output:
When the app loads, the user can input 1 or more adjectives to store
in the app with each Submit. To input more than 1 word for each
Submit, the user would give each word separated by a space, e.g.,
"green nice silly". We can use JavaScript's string
split
method to split the input string into an array of
substrings.
Input:
Output:
Update our Mad Lib to take additional word types.
Create modes to input words from different word types, e.g. exclamation, adverb, noun, and adjective. For each type, prompt the user what type of word they should be entering. If it's too tedious to support 4 word types, considering starting with 2 word types.
Input:
Output:
Keep track of which words are selected. Create and allow the user to switch to a new game mode that always shows a completed Mad Lib on Submit using the set of words (verb, adjective, etc.) that the app has (randomly) selected most often so far.
Input:
Output:
Store an array of Mad Lib sentences in your app.
Update create mode to pick a random Mad Lib sentence and set of words and output the completed Mad Lib in the grey box on Submit.
Input:
Output: