const thisyear = document.querySelector('.this-year'); thisyear.textContent = new Date().getFullYear();