Help with weather app, all working just need button to change degrees

Help with weather app, all working just need button to change degrees
0

#1

im kinda stuck, I was thinking on changing the h2 element to reflect the degrees but didnt work :frowning:


#2

Are you talking about changing the H1 element to reflect the degrees result? if so wouldn’t you just need to add a event listener? If that is what you are talking about checkout the link and look at the first example.

https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener