This is a simple weather app that fetches real-time weather data using the OpenWeather API.
- Search for a city and get its current weather.
- Displays temperature, humidity,wind speed, and an appropriate weather icon.
- Error handling for invalid city names.
HTML: Structure of the app.
CSS: Styling and responsive design.
JavaScript: Fetching and displaying weather data.
git clone https://github.com/Jessi-techy/Weather-App.git
cd Weather-App-
Open the folder in your code editor (e.g.,VS Code).
-
Alternatively,open the index.html file directly in your browser.
-
Get your free API key from OpenWeather API.
-
Replace the apiKey variable in the index.html script section with your API Key:
const apiKey = "Your_api_key";-
Open index.html in your browser.
-
Enter a city name to fetch its weather.
Here is an example of how the weather app will look after entering a city name:

