extHour() {
            if (currentHourIndex + calculateVisibleItems() < 24) {
                currentHourIndex++;
                renderHourlyForecast();
            }
        }

        function prevDay() {
            if (currentDayIndex > 0) {
                currentDayIndex--;
                renderDailyForecast();
            }
        }

        function nextDay() {
            const visibleItems = calculateVisibleItems();
            if (currentDayIndex + visibleItems < daysData.length) {
          