Welcome to the Weather Forecast Website! This site allows users to obtain current weather information for any specified city using the OpenWeather API. Simply enter the name of a city to receive real-time data on temperature, humidity, wind speed, and more.
Before getting started, ensure you have the following:
- An OpenWeather API key, which can be obtained by signing up on OpenWeather.
Download or clone the repository to your local machine.
git clone https://github.com/your-username/weather-forecast-website.git
Open in Browser Navigate to the project directory and open the index.html file in a web browser.
In the index.html file, locate the following line:
const apiKey = "YOUR_API_KEY";
Replace with Your API Key Replace "YOUR_API_KEY" with your actual OpenWeather API key.
Ensure you save the changes to the index.html file.
Open the index.html file in a web browser.
Enter the name of a city in the input field and click the "Get Weather" button.
The website will display the current weather information for the specified city, including temperature, humidity, wind speed, and more.
You can enter additional cities and view their weather information as well.
To contribute:
Fork the repository. Create a new branch for your feature or bugfix. Make your changes. Submit a pull request with a detailed description of your changes. License
This project is licensed under the MIT License. See the LICENSE file for more details.
Enjoy using your Weather Forecast Website with the OpenWeather API! If you have any questions or encounter any issues, please feel free to open an issue or reach out.