A modern, responsive weather forecasting application built with HTML, JavaScript, and Tailwind CSS. Get real-time weather updates, forecasts, and detailed weather metrics with a beautiful, wave-animated interface.
- Real-time Weather Data: Get current weather conditions for any location
- 7-Day Forecast: View detailed weather predictions for the upcoming week
- Geolocation Support: Automatically detect user's location
- Temperature Unit Conversion: Toggle between Celsius and Fahrenheit
- Responsive Design: Optimized for all screen sizes (mobile-first approach)
- Recent Searches: Quick access to your previously searched locations
- Detailed Weather Metrics:
- Temperature & "Feels Like" readings
- Humidity levels
- Wind speed
- Cloud coverage
- UV index
- Atmospheric pressure
- Sunrise & sunset times
- HTML5
- JavaScript (ES6+)
- Tailwind CSS
- Font Awesome Icons
- WeatherAPI.com
- Local Storage API
- Geolocation API
Visit the live application: Weather Forecast App
- Clone the repository:
git clone https://github.com/PYTHON09-ux/Weather-forecast-app-Tailwind-.git
- Navigate to the project directory:
cd Weather-forecast-app-Tailwind-
- Open
index.html
in your preferred browser
- Enter a city name in the search bar
- Click the search icon or press Enter
- View detailed weather information and forecast
- Use the temperature unit converter to switch between °C and °F
- Click the location icon to use your current location
- Access your recent searches from the dropdown menu
- Animated wave background
- Responsive grid layout
- Interactive hover effects
- Clean and modern design
- Intuitive navigation
- Error handling with user feedback
- Loading states for better UX
- iPhone SE (375px)
- iPad Mini (768px)
- Standard breakpoints:
- sm: 640px
- md: 768px
- lg: 1024px
- xl: 1280px
This app uses the WeatherAPI.com API. To run the app locally:
- Sign up at WeatherAPI.com
- Get your API key
- Replace the API key in
script.js
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Pavan - itispavan24@gmail.com
Project Link: https://github.com/PYTHON09-ux/Weather-forecast-app-Tailwind-