6 lines
216 B
JavaScript
6 lines
216 B
JavaScript
|
function changeText() {
|
||
|
let copyrightYear = new Date().getFullYear();
|
||
|
document.getElementById("copyright").innerHTML=("Copyright© " + copyrightYear + " Wendy Moo. All rights reserved.");
|
||
|
}
|
||
|
|
||
|
changeText();
|