As it is currently written, each call to the OldMacVerse function displays a new verse in the page division, overwriting any previous verse that may have been displayed. If we instead wanted each new verse to be appended to the previous verses, only a small change is necessary. In general, an assignment of the following form will append 'NEW TEXT' to the end of the contents of a page division with identifier DIV_ID.
document.getElementById('DIV_ID').innerHTML =
document.getElementById('DIV_ID').innerHTML + 'NEW TEXT';
The assignment works by taking the current value of the page division, appending 'NEW TEXT' to the end of that text, and then assigning the updated text back to the page division.
Modify the assignment in the OldMacVerse function in your oldmac.html page so that each verse is appended to the page division.
```
Old MacDonald
```
Computer Science & Information Technology
You might also like to view...
You can open the Start menu by clicking the Start button or by pressing the ________ key
A) Enter B) Windows logo C) Start D) Tab
Computer Science & Information Technology
A single-click or double-click on a worksheet tab makes that worksheet active
Indicate whether the statement is true or false.
Computer Science & Information Technology