Create a Web page named story.html that serves as an interactive fill-in-the-blank story program. Your page should contain text boxes where the user can enter words to fill in the blanks in a story. It should also contain a button which, when clicked, causes the story to be displayed with the user's words entered in the appropriate places. The content of the story can be anything that you like—be creative! However, your story must meet the following conditions.
1. It must be at least two paragraphs long.
2. It must have at least six missing words.
3. At least one of the missing words must be used multiple times in the story. For example, the person’s name was used twice in the sample story above.
4. The page should have a title, centered at the top, which includes your name.
```
Dave's Story Time
Enter an adjective:
Enter a boy's name:
Enter a color:
Enter a type of animal:
Enter a swear word or exclamation:
Enter a type of building:
onclick="adjective = document.getElementById('adjectiveBox').value;
boy = document.getElementById('boyBox').value; color = document.getElementById('colorBox').value; animal = document.getElementById('animalBox').value; swear = document.getElementById('swearBox').value;
building = document.getElementById('buildingBox').value;
document.getElementById('outputDiv').innerHTML=
'
It was a ' + adjective + ' kind of day when ' + boy +
' walked out into the street. The sky was a deep ' + color +
' and ' + boy + ' was walking his pet ' + animal + '.
'
' + swear +', exclaimed ' + boy + ' as he stepped off' +
' the curb and into a large pile of ' + animal + ' excrement.' +
' Disgusted, he returned to his ' + building +
' and went back to bed.
```
You might also like to view...
To export data from Access into Excel, Access offers export options on the ______________ Tab.
a. Copy Data b. Transfer Data c. Excel Data d. External Data
When using nested loops, what loop is contained entirely within an outer loop?
A. posttest loop B. pretest loop C. inner loop D. for loop