This is a basic web app that shows the hourly weather forecast for Nairobi using the WeatherAPI.
- Connects to the WeatherAPI
- Gets hourly weather data for today
- Displays time, temperature, cloud percentage, wind speed, and wind direction
index.html– the structure of the pagestyle.css– the design/stylingscript.js– connects to the API and updates the page
- Make sure to replace the
YOUR_API_KEYinscript.jswith your real WeatherAPI key. - The app only works for Nairobi in this version.