diff --git a/index.html b/index.html index d68c61a3..9a083e99 100644 --- a/index.html +++ b/index.html @@ -375,7 +375,7 @@

Contact Me

-

Copyright © 2023 John Doe. All Rights Reserved.

+

Copyright © John Doe. All Rights Reserved.

diff --git a/script.js b/script.js index 9e776eaf..3dd4445d 100644 --- a/script.js +++ b/script.js @@ -4,3 +4,7 @@ function toggleMenu() { menu.classList.toggle("open"); icon.classList.toggle("open"); } + +// update footer with current year +const current_year = new Date().getFullYear(); +document.getElementById("year").innerText = current_year