# Note you must give the ID copyrightDynamic to the html tag
# that will be holding your text
const newYear = new Date().getFullYear();
const copyrightText = newYear + " © Copyright Company Name"
document.getElementById("copyrightDynamic").innerHTML = copyrightText;