- Developed in
TypeScript
- Using my Geolocation-Storage repo
- Using the OpenWeather API
- Designed for Bootstrap
It works like this
- Ask the user to allow location access
- Fetch the weather and save it in local storage
- Display a responsive widget that shows the current (or last fetched) weather
The widget loads in DOM Element with id="weather-widget"
attribute.
It is designed to display itself as a Bootstrap Card, like this :
<div class="card my-3" id="weather-widget"></div>