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