This is a simple weather application that allows users to retrieve and display the current weather information for a given city using the OpenWeatherMap API.
- Fetches weather data from the OpenWeatherMap API based on user input.
- Displays the weather information, including temperature, weather description, humidity, and wind speed, on the webpage.
- Provides a visual representation of the weather conditions through weather icons.
- Clone or download the repository to your local machine.
- Open the
index.html
file in a web browser. - Enter the name of the city for which you want to retrieve the weather information in the search bar.
- Click the "Search" button or press Enter.
- The weather information for the specified city will be displayed on the webpage, including the city name, weather description, temperature in Celsius, humidity percentage, and wind speed in kilometers per hour.
Note: Make sure you have an internet connection to successfully retrieve the weather data from the OpenWeatherMap API.
- This application utilizes the OpenWeatherMap API to fetch weather data. It requires an API key to make requests. You can sign up for an API key at OpenWeatherMap and replace the
apiKey
variable in theapp.js
file with your own API key.