A simple and responsive Weather Application built using HTML, CSS, and JavaScript that fetches real-time weather information using the WeatherAPI.
- 🌍 Search weather by city or location
- 🌡️ Displays real-time temperature in Celsius
- 📱 Responsive and user-friendly interface
⚠️ Input validation and error handling- 🔗 Real-time API integration using WeatherAPI
- HTML5
- CSS3
- JavaScript
- WeatherAPI
Weather_App/
│
├── .vscode/
│ └── settings.json
│
├── main.html
└── README.mdgit clone https://github.com/jayti017/Weather_App.gitOpen the project folder and run:
main.htmlor simply double-click main.html to open it in your browser.
This project uses the WeatherAPI service.
- Visit: https://www.weatherapi.com/
- Create a free account
- Generate your API key
- Replace the following line in
main.html:
const apiKey = 'Your_API_KEY_Here';with:
const apiKey = 'your_actual_api_key';- Enter a city name
- Click on Check Temperature
- View the current temperature instantly
- Add weather condition icons
- Show humidity and wind speed
- Add dark/light mode
- Display weather forecasts
- Add current location weather support
Jayti Bhardwaj