My Local Weather App, but I couldn't able to toggle between celsius to farenheit Please post any suggestions please :)

You asked for “suggestions” so I won’t give you a flat out answer but will give you a direction. There are a couple of ways to approach it. You have an HTML element with the class temperature and you know how to target it with jQuery. You need to set up a button and an event listener (click) that will send the opposite units to that element. You will need some way to keep track of what the current units are so you know how to change it - you could do that either with a JS variable or by reading from your HTML.

1 Like