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

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

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

1 Like