document.addEventListener('DOMContentLoaded', function() {
var year = new Date().getFullYear(); // Get the current year
document.getElementById('currentYear').textContent = year; // Set the text content of the element with id="currentYear" to the current year
});