A simple weather application that fetches real-time weather data using an API.
- Get current weather details
- Fetch temperature, humidity, and wind speed
- Search by city name
- User-friendly interface
- HTML, CSS, JavaScript
- Weather API (e.g., OpenWeatherMap or WeatherAPI)
- Clone the repository:
git clone https://github.com/your-username/weather-app.git cd weather-app - Get an API key from OpenWeatherMap or any weather API provider.
- Create a
.envfile and add your API key:WEATHER_API_KEY=your_api_key_here
- Open
index.htmlin a browser or run a local server:npx live-server
- Enter a city name in the search box.
- Click the "Get Weather" button.
- View real-time weather data for the searched city.
This project is licensed under the MIT License.
For any issues or suggestions, feel free to reach out:
- GitHub: your-username
- Email: your-email@example.com