This is a simple weather app built with vanilla JavaScript. It allows users to enter a city name and get current weather data using the OpenWeatherMap API.
- Fetches live weather data from OpenWeatherMap
- Displays:
- City name
- Temperature
- Humidity
- Weather description
- Weather icon
-
Clone or download this repository.
-
Insert your API key from OpenWeatherMap into the
apiKeyvariable in the script:const apiKey = 'INSERT_API_KEY_HERE';
- Tutorial: Here's a detailed version of making this weather app.
- OpenWeatherMap API Documentation: You can learn more about the OpenWeatherMap API and explore its full documentation on this link.