This is a simple weather application that allows users to check the current weather and hourly forecast for a specific city. The application is built using HTML, CSS, and JavaScript, and it utilizes the OpenWeatherMap API to fetch weather data.
- Search for Weather: Enter the name of a city to get the current weather details.
- Reset Input: Clear the input field with a reset button.
- Responsive Design: The app is designed to be visually appealing and responsive on various devices.
- Clone or download the repository to your local machine.
- Open the
index.html
file in your preferred web browser.
- Enter the city name in the input field.
- Click the "Search" button to retrieve the current weather and hourly forecast.
- Optionally, use the "Reset" button to clear the input field.
- View the temperature, city name, weather description, and hourly forecast.
Please note that the application uses the OpenWeatherMap API to fetch weather data. Make sure to replace the placeholder API key in the script.js
file with your own valid API key.
const apiKey = 'YOUR_API_KEY_HERE';
Visit the Weather App site: Weather App
- Weather data provided by OpenWeatherMap.