Simple weather website
The weather app is a simple weather app that shows the weather of a city or it will try to get the weather of your current location. Mainly written in html and js. The data is obtained from here and is used to gather the weather data. Gps data is obtained by using navigator.geolocation.getCurrentPosition().
Source code:
Some features of this app are:
- Shows the weather of a city
- Shows the weather of your current location
- 3 Day forecast
- Chance of rain
- Min Max Temperature
- Wind speed
- Localstorage to save your last searched city
- Ability to clean localstorage with the click of a button
- Auto refreshes every 5 minutes
- Bootstrap 5
Demo
Languages used
- HTML
- JS
- CSS
This post is licensed under
CC BY 4.0
by the author.