Haroonabdulrazaq / Weather-forecast

Weather forecast. It's an application that accepts input of location (Cities or Countries) form user and returns the weather information of that country or appropriate Error

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather-forecast

screenshot

  • 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!

Built With

  • HTML
  • Scss
  • Javascript(ES6)
  • Webpack4
  • Bulma.io

Live Demo

Weather-forecast

Prerequisites

  • You need to have node already installed with npm

Getting Started

To get a local copy up and running follow these simple example steps.

Setup

  1. Clone this repository with
  • git clone https://github.com/Haroonabdulrazaq/Weather-forecast.git
  1. Change to the project directory by entering
    • cd Weather-forecast
  2. Open in Editor of choice

Note: API key is left in the Code for review purpose

Webpack Setup

npm install [To install all dependencies] npm run build [To bundle the files] npm run watch [To update as you make changes]

Authors

👤 Haroon Abdulrazaq

Deployment

Raw Githack

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse
  • The Odin Project

📝 License

This project is MIT licensed.

About

Weather forecast. It's an application that accepts input of location (Cities or Countries) form user and returns the weather information of that country or appropriate Error


Languages

Language:JavaScript 56.8%Language:CSS 26.4%Language:SCSS 16.8%