// Create a variable called msg to hold a message that will be shown on the page
// Find the title of the document, and put this in the msg variable
var msg = '<p><b>Seitentitel: </b>' + document.title + '<br />';
// Find the URL of the document and add it to the msg variable
msg += '<b>Seitenadresse: </b>' + document.URL + '<br />';
// Find the date the document was last modified and add it to the msg variable
msg += '<b>Zuletzt geändert: </b>' + document.lastModified + '</p>';

// Create a variable called el to hold the element whose id attribute has a value of footer
var el = document.getElementById('footer');
// Write the message into that element
el.innerHTML = msg;