© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Cliff Meakin
Great except the days are listed in reverse order...
Miroslav Slapka
Web developer focusing on front-end technologies
Thanks probably it's because of this line: forecastEl[0].insertAdjacentHTML('afterbegin', fday);
You can try this instead: forecastEl.append(fday);
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?
forecastEl[0].insertAdjacentHTML('beforeend', fday); works. Sorted :)