A dashboard showing weather data for cities we can search for. These cities can be added to our list as buttons so that we have a one-push access to past detinations.
Uses API calls to openweathermap.org for weather information by city. We utilise the current conitions and a forecast from the API for the next 5 days to present the user with a comprehensive idea of hw the weather is at that location. Locations can be saved, and the last location searched will be the first location presented when the screen is re-opened
Access to website at https://rschragger.github.io/BC06-02-Weather-Dashboard/ and Javascript running is all that is required.
Github page at https://github.com/rschragger/BC06-02-Weather-Dashboard
Google and many Javascript references in w3schools and MDN(Mozilla Dev Network) were used frequently to research topics and syntax used.
MomentJS https://momentjs.com/
https://openweathermap.org/api/one-call-api
© Copyright Reeve Schragger 2022
Units and theme preferences can be chosen
- metric or imperial units can be used
- a simple white theme or a colourful theme can be chosen
Responsive to different media sizes
Loctions are saved in buttons to the left that are added with every search, and can be removed easily by pressing the lose button
Possible future features
- having theme colours based on time/temperature at the chosen city