# Weather App
This is a simple weather app that allows users to check the weather for a particular location. It utilizes JavaScript, HTML, and CSS for the frontend, and it fetches weather data from the OpenWeatherMap API.
## Getting Started
To get started with the app, you will need to create an account on OpenWeatherMap and generate your API key. You can sign up [here](https://home.openweathermap.org/users/sign_up). Once you have your API key, follow the instructions below to install and run the app locally.
### Installation
1. Clone the repository to your local machine:
```sh
git clone https://github.com/yourusername/weather-app.git
-
Navigate to the project directory:
cd weather-app
-
Open the
index.js
file in your preferred text editor. -
Replace
"YOUR_API_KEY"
with your actual OpenWeatherMap API key:const apiKey = "YOUR_API_KEY";
-
Save the changes and close the file.
-
Open
index.html
in a web browser. -
In the search bar, enter the location for which you want to check the weather.
-
Click on the "Search" button.
-
The app will display the current weather information for the specified location.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.