index.md
index.md
${yearNames[currentYear]?.turkish || 'Unknown'}
${yearNames[currentYear]?.english || 'Unknown'}`; const monthElement = document.getElementById("month-name"); monthElement.innerText = months[currentMonth]?.chuvash || 'Unknown'; monthBlock.querySelector("p").innerHTML = `${months[currentMonth]?.turkish || 'Unknown'}
${months[currentMonth]?.english || 'Unknown'}`; const dayElement = document.getElementById("day-number"); const weekdayElement = document.getElementById("weekday-name"); dayElement.innerText = currentDay; weekdayElement.innerHTML = `${daysOfWeek[currentWeekday]?.chuvash || 'Unknown'}
${daysOfWeek[currentWeekday]?.turkish || 'Unknown'}
${daysOfWeek[currentWeekday]?.english || 'Unknown'}`; } updateCalendar(); setInterval(() => { document.querySelectorAll(".flip-block h2").forEach(el => { el.style.transform = "rotateX(180deg)"; }); setTimeout(() => { updateCalendar(); document.querySelectorAll(".flip-block h2").forEach(el => { el.style.transform = "rotateX(0)"; }); }, 600); }, 60000); </script>