Project: Weather App
In this project, as a way of practicing using Promises
in making API requests
, i developed a simple weather app using JavaScript, HTML & CSS!
Weather App
View Demo ยท Report Bug ยท Request Feature
Table of Contents
About The Project
This project's purpose is to practice Javascript concepts like Promises, Async/Await, Dom Manipulation, modularization among others.
-
On first load, the app requests for the user's current location, if permission is granted. The app will diplay the weather at the user's geolocation.
-
User is able to search for the weather of any city in the world by typing the city name i the search bar and pressing enter or the search button.
-
User is able to toggle between showing temperature in either
Celsius
orFahrenheit
units.
Local Usage
To use this app locally, this is what you need to:
- Download or clone this repo:
- Clone with SSH:
[email protected]:PhillipUg/weather-app.git
- Clone with HTTPS
https://github.com/PhillipUg/weather-app.git
cd
into the downloaded folder and runnpm install
- then, run
npm run start
.
Built With
This project was built using these technologies.
- HTML
- CSS
- JavaScript
- Webpack
- Chrome Dev Tools
Live Version
To try it live click here
Contact
๐ค Phillip Musiime
- LinkedIn: Phillip Musiime
- GitHub: PhillipUg
- Twitter: @Phillip_Ug
- E-mail: [email protected]
Acknowledgements
๐ License
This project is MIT licensed.