A user-friendly web application that provides real-time weather information and a 7-day forecast based on user input or location.
- Current Weather: Displays the current temperature, weather condition, and location.
- 7-Day Forecast: Provides a detailed weather forecast for the next seven days.
- Location Search: Users can search for weather by entering an address or location.
- Geolocation: Users can use their current location to fetch weather data.
- Responsive Design: Works seamlessly on mobile and desktop devices.
- HTML: Structure of the application.
- CSS: Styling for a modern and responsive design.
- JavaScript: Client-side functionality and API interaction.
- WeatherAPI: Provides weather data through API calls.
-
Clone the repository:
git clone https://github.com/yourusername/weather-app.git cd weather-app
-
Configuration:
const apiKey = 'your-weatherapi-key'; // Replace with your WeatherAPI.com API key
- WeatherAPI for providing weather data.
- Inspiration from various weather applications.