Portfolio
About Portfolio Contact

Key points

  • Uses the OpenWeatherMap API to provide the location, weather state, and temperature based on the visitor’s coordinates.
  • Uses the Geolocation API to retrieve the visitor’s location coordinates for the OpenWeatherMap API.
  • The displayed temperature unit can be changed from Celsius to Fahrenheit or vice versa.
  • Weather data is reused if the visitor’s location coordinates haven’t changed and significant time has not yet passed.
  • Responsive design.

Tools used

  • OpenWeatherMap API

  • Geolocation API

  • Javascript

  • Sass

  • HTML

  • Babel

Url

paulo-lucero.github.io/myweather/

Repository

github.com/paulo-lucero/myweather