Modify your story.html page so that the labels and text boxes for the words/phrases align in columns.
What will be an ideal response?
```
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...
When working with a red-black tree, splitting nodes involves color pointer changes, called rotations. What does this do to the tree?
a. shorten the tree b. lengthen the tree c. keeps it the same length d. reverses the tree
You should assign a ____ name to each of the controls in a program, because doing so will help you keep track of the various objects included in the interface.
A. meaningful B. common C. long D. short