const year = document.querySelector(".year"); year.textContent = new Date().getFullYear();