Question: I want you to create a Mad Libs game using the information from the lesson. There are a few requirements. The story must be printed
I want you to create a Mad Libs game using the information from the lesson. There are a few requirements.
The story must be printed out to the console.
You must ask for a minimum of six (6) pieces of information.
You must request at least three numbers and perform some math on them.
One of the math operations must come from the Math class.
Keep it safe for work. I'm going to have you post your work to the discussion forum and you'll have to play the games your classmates create so keep it professional or you won't get a passing grade.
You can have multiple rounds. So for instance you can request some info and then print out part of the story and then request more...
Submit both an HTML and JS file. I will start the program by opening the HTML file.
After you are done, submit your work to the Canvas discussion board for this lesson.
Some general coding guidelines
Throughout this class, prefer single vs double quotes around strings unless you have a good reason such as having single quotes in the string.
Use camelCase style variable names rather than snake_case or kebob-case.
Put a line break after every command.
Comments are helpful. Don't be afraid to use them.
Good example:
myName = 'Bob'; // Capture the first letter of the name. firstInitial = myName[0];
Bad example:
my_name = "Bob"; first_initial = myName[0];
Rubric
Mad Libs Rubric
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
