This is a simple weather application that allows users to check the current weather and hourly forecast for a specific city.
- Current weather information (temperature, description) for the specified city.
- Hourly forecast for the next 24 hours with 3-hour intervals.
Before you begin, make sure you have the following:
- OpenWeatherMap API key. You can obtain one here.
-
Clone the repository:
git clone https://github.com/your-username/weather-app.git
-
Open the project in your preferred code editor.
-
Create a file named config.js in the root of the project and add your OpenWeatherMap API key: // config.js const apiKey = 'your-api-key';
Open index.html in a web browser.
Enter the name of the city in the input field and click the "Get Weather" button.
The current weather information and hourly forecast will be displayed.
API Reference OpenWeatherMap AP
