- Set up a blank HTML document with the appropriate links to your JavaScript and CSS files.
- Write the functions that hit the API. Wrote a functions that can take a location and return the weather data for that location.
- Write the functions that process the JSON data you’re getting from the API and return an object with only the data you require for your app.
- Set up a simple form that will let users input their location and will fetch the weather info
- Display the information on your webpage!
- HTML
- Scss
- Javascript(ES6)
- Webpack4
- Bulma.io
- You need to have node already installed with npm
To get a local copy up and running follow these simple example steps.
- Clone this repository with
git clone https://github.com/Haroonabdulrazaq/Weather-forecast.git
- Change to the project directory by entering
cd Weather-forecast
- Open in Editor of choice
Note: API key is left in the Code for review purpose
npm install [To install all dependencies] npm run build [To bundle the files] npm run watch [To update as you make changes]
👤 Haroon Abdulrazaq
- Github: @haroonabdulrazaq
- Twitter: @Hanq_o
- Linkedin: Haroonabdulrazaq
Raw Githack
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
- The Odin Project
This project is MIT licensed.