You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.1 KiB
27 lines
1.1 KiB
# Weather App
|
|
|
|
**Tier:** 1-Beginner
|
|
|
|
A weather application to get the temperature, weather condition and whether it is day or night of a particular city using `accuweather`. A free weather api.
|
|
|
|
## User Stories
|
|
|
|
- [ ] Enter the name of a city into the `input` field.
|
|
- [ ] By pressing enter, the user submits the name of the city which updates the `DOM` with the temperature, weather condition, image of day or night and weather condition icon.
|
|
|
|
## Bonus features
|
|
|
|
- [ ] By closing the browser window the city name will be stored in localStorage and when the user returns, the name will be retrieved to make an api call to update the `DOM`.
|
|
|
|
## Useful links and resources
|
|
|
|
- [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)
|
|
- [accuweather](https://developer.accuweather.com/)
|
|
- [axios](https://github.com/axios/axios)
|
|
- [bootstrap](https://getbootstrap.com/)
|
|
|
|
## Example projects
|
|
|
|
- [Weather App on Codepen](https://codepen.io/tutsplus/pen/gObLaEP) by [George Martsoukos]
|
|
- [Coding A Weather App In Pure JavaScipt](https://www.youtube.com/watch?v=ZPG2wGNj6J4)
|