   if (index >= daysData.length) break;
                const day = daysData[index];
                const div = document.createElement('div');
                div.className = 'daily-item';
                div.style.width = `${itemWidth}px`;
                div.innerHTML = `
                    <div>${day.date}</div>
                    <div class="daily-item-icon-container">
                        <div class="daily-item-icon">${day.icon}</div>
                        <div class="daily-item-desc">${day.tex