diff --git a/src/components/WeatherForecast.js b/src/components/WeatherForecast.js index f618eaa..bc26b33 100644 --- a/src/components/WeatherForecast.js +++ b/src/components/WeatherForecast.js @@ -95,7 +95,7 @@ export default function WeatherForecast() { Last updated: {new Date(weatherData.lastUpdated).toLocaleTimeString()} -
+
{weatherData.forecast.forecastday.map((day, index) => ( {index === 0 ? 'Today' : new Date(day.date).toLocaleDateString('en-US', { weekday: 'short' })}
-
-
+
+
{day.day.condition.text}
-
+
{day.day.condition.text}
-
+
{day.day.daily_chance_of_rain}%