diff --git a/copyrightYear.js b/copyrightYear.js new file mode 100644 index 000000000..efb975d71 --- /dev/null +++ b/copyrightYear.js @@ -0,0 +1,4 @@ +let copyRightYear = document.getElementById("copyright-year"); +let currentDate = new Date(); +let currentYear = currentDate.getFullYear(); +copyRightYear.innerText = currentYear; \ No newline at end of file diff --git a/index.html b/index.html index 29848d464..3da3e8e05 100644 --- a/index.html +++ b/index.html @@ -521,7 +521,7 @@