This weather widget displays the weather in Celcius, Fahrenheit, or Kelvin based on your browser's current location.
Used JavaScript to get the location:
Get the data from weather API:
Then after styling up the application as desired, adding the ability to change from Celcius to Fahrenheit, or Kelvin. This was completed by using the switch statement along with a few convertion functions to display the correct icons and temperature units.