I finished the weather app but there is something bothering me.
This is my code: https://codepen.io/matiasdesousa/pen/KZQRKJ?editors=1111
If you see the changeUnit function i used °C and °F to check what unit to turn to when clicked.
However if change those to ℃ and ℉ respectively it doesn’t change the unit and it keeps multiplying by the temperature and displaying high wrong temperatures.
Can you tell why is this happening?