From b83e229c5e707815fb8d90cad8035ef8d0200ffa Mon Sep 17 00:00:00 2001 From: goldipl Date: Tue, 11 Jun 2024 20:36:05 +0200 Subject: [PATCH] add currentYear script --- js/scripts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/scripts.js b/js/scripts.js index 8ec40a3..04407a0 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -1,6 +1,8 @@ // Hamburger menu $(document).ready(function(){ + const currentYear = new Date().getFullYear(); $('.header-2-0 .hamburger-menu').click(function(){ $(this).toggleClass('open'); }); + $('footer .footer-wrapper-bottom span').text(currentYear); }); \ No newline at end of file