In this project, as a way of practicing using Promises
in making API requests
, i developed a simple weather app using JavaScript, HTML & CSS!
View Demo · Report Bug · Request Feature
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.
To use this app locally, this is what you need to:
- Download or clone this repo:
- Clone with SSH:
git@github.com: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
.
This project was built using these technologies.
- HTML
- CSS
- JavaScript
- Webpack
- Chrome Dev Tools
To try it live click here
👤 Phillip Musiime
- LinkedIn: Phillip Musiime
- GitHub: PhillipUg
- Twitter: @Phillip_Ug
- E-mail: phillipmusiime@gmail.com
This project is MIT licensed.