---
title: "Comment by Cliff Meakin on \"Display 7 Day Weather Forecast with OpenWeather API\" | Hashnode"
description: "Great except the days are listed in reverse order..."
url: "https://hashnode.com/posts/display-7-day-weather-forecast-with-openweather-api-aac8ba21c9e3/60a510d459b7dc409c3d3a2b/comment/60e630d7d534931b99a4f557"
---

[Discussion](https://hashnode.com/posts/display-7-day-weather-forecast-with-openweather-api-aac8ba21c9e3/60a510d459b7dc409c3d3a2b)

Comment [Display 7 Day Weather Forecast with OpenWeather API](https://hashnode.com/posts/display-7-day-weather-forecast-with-openweather-api-aac8ba21c9e3/60a510d459b7dc409c3d3a2b)

[Cliff Meakin](https://hashnode.com/@cbeem)

[Jul 7, 2021](https://hashnode.com/posts/display-7-day-weather-forecast-with-openweather-api-aac8ba21c9e3/60a510d459b7dc409c3d3a2b/comment/60e630d7d534931b99a4f557)

Great except the days are listed in reverse order...

[Miroslav Slapka](https://hashnode.com/@miresk)

[Jul 8, 2021](https://hashnode.com/posts/display-7-day-weather-forecast-with-openweather-api-aac8ba21c9e3/60a510d459b7dc409c3d3a2b/comment/60e630d7d534931b99a4f557#reply-60e6e6b3c32fbd1b737214b1)

Thanks probably it's because of this line: forecastEl\[0\].insertAdjacentHTML('afterbegin', fday);

You can try this instead: forecastEl.append(fday);

[Cliff Meakin](https://hashnode.com/@cbeem)

[Jul 8, 2021](https://hashnode.com/posts/display-7-day-weather-forecast-with-openweather-api-aac8ba21c9e3/60a510d459b7dc409c3d3a2b/comment/60e630d7d534931b99a4f557#reply-60e72fbe3dc33f032e23bb06)

Thanks :)

Uncaught (in promise) TypeError: forecastEl.append is not a function

forecastEl\[0\].append(fday); works but there is no html, just a long one liner of text?

[Cliff Meakin](https://hashnode.com/@cbeem)

[Jul 8, 2021](https://hashnode.com/posts/display-7-day-weather-forecast-with-openweather-api-aac8ba21c9e3/60a510d459b7dc409c3d3a2b/comment/60e630d7d534931b99a4f557#reply-60e745bb3dc33f032e23bde5)

forecastEl\[0\].insertAdjacentHTML('beforeend', fday); works. Sorted :)
