sahilihas / WeatherWork

This is a Weather website which is made from using Open Weather API.

Home Page:https://weather-work.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WeatherWork

This is a Weather website which is made from using Open Weather API.

Weather App

A simple weather app built using HTML, CSS, and JavaScript that fetches weather data from the OpenWeather API.

image

Table of Contents

Introduction

Weather App is a straightforward web application designed to provide users with real-time weather information for a specified location. It utilizes the OpenWeather API to fetch weather data and displays it in a user-friendly interface.

Features

  • Display current weather conditions including temperature, humidity, wind speed, and more.
  • Search for weather information by city name or coordinates.
  • Responsive design to ensure optimal viewing on various devices.

Getting Started

To run the app locally, follow these steps:

  1. Clone this repository to your local machine.
  2. Open the index.html file in a web browser.

Usage

  1. Upon opening the app, you will see a header displaying the app's title.
  2. The main content area will show a weather container where the weather information will be displayed.
  3. Enter a city name in the search input field and click the "Search" button to retrieve weather data for that location.
  4. The fetched weather information will be displayed within the weather container.

Screenshots

A simple weather app built using HTML, CSS, and JavaScript. It fetches weather data from the OpenWeather API.

API Key

"8019e611de0b5a732cfbbaffc26154d5"

  1. Sign up for an account on the OpenWeather website.
  2. After obtaining your API key, create a copy of the scripts/config.js.sample file and name it config.js.
  3. Replace 'YOUR_API_KEY' in config.js with your actual OpenWeather API key.
  4. Remember to keep your API key secure and do not expose it in public repositories.

Contributing

Contributions are welcome! If you'd like to contribute to the Weather App, please follow these steps:

  1. Fork the repository.

  2. Create a new branch for your feature or bug fix.

  3. git add .

  4. Make your changes and commit them.

  5. git commit -m "Initial commit"

  6. Push your changes to your forked repository.

  7. git push origin main

  8. Open a pull request to the main repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This is a Weather website which is made from using Open Weather API.

https://weather-work.vercel.app


Languages

Language:JavaScript 46.1%Language:HTML 33.9%Language:CSS 20.1%