Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / I have the HTML and CSS code, I just need to add the Javascript to make my MadLibs game work

I have the HTML and CSS code, I just need to add the Javascript to make my MadLibs game work

Computer Science

I have the HTML and CSS code, I just need to add the Javascript to make my MadLibs game work. The words in color on the second page is where the words should fit once it's filled out. Here is the criteria. I linked the HTML and CSS. CRITERIA: Criteria for the program: You must: use arrays to hold the random words for each of the textboxes that can be random (have a random button). Each array must have at least 4 random words. check to see if any of the textboxes/dropdowns are empty. If a box is empty when the user presses the Go Mad/ Make the Story button, then give the user a warning and don't display the story until that all the text boxes are complete. (Using alert) make sure that when the user presses any of the random buttons, that the text boxes are filled with a random word from your array of words. have a "Totally Random" button that when pressed fills in all the textboxes that have Random Buttons next to them. have a "Go Mad/Make the Story" button that takes the user to the second page where all the words are filled in in the story. This page has a hint on how to do that (open a new page): http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_win_open have a button on the second page called "Play Again" that when clicked should take you back to a cleared out version of the input webpage have another button on the second page called "Print Story" that, when clicked, will print the story (google window.print() for help with this tag). add one input box under all the other textboxes ones that is and have it set initially to a colour of your choice but if the user clicks on it and picks a different colour, when the second webpage (the one with the story) is displayed, it should change the heading of your story to be that colour that the user picked.

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE