A simple Weather Web Application built using HTML, CSS, and JavaScript. This app allows users to get real-time weather information for any city in the world using the Google API for location input and weather data fetching.
- π Search by Location β Enter any city name to get live weather updates.
- βοΈ Real-Time Weather Data β Displays temperature, humidity, wind speed, and weather conditions.
- π Google API Integration β Fetches location details and corresponding weather information.
- π‘ User-Friendly Interface β Minimal, responsive, and easy-to-use design.
- π¨ Custom Styling β Built with clean HTML and CSS for a visually appealing layout.
- HTML5 β Structure of the application.
- CSS3 β Styling and layout.
- JavaScript (ES6) β Logic for fetching and displaying weather data.
- Google API β Used for location and weather data retrieval.
- The user enters a city name in the search box.
- The app uses the Google API to fetch location coordinates (latitude and longitude).
- It then calls the Google Weather API (or you can use other integrated API) to get weather data for that location.
- The weather information β such as temperature, humidity, feel like, and weather condition β is displayed dynamically on the page.
weather-app/
β
βββ app/
| β
| βββ index.html # Main HTML file
| βββ app.css # CSS for styling the app
| |__ app.js # JavaScript file with app logic
βββ assets/ # GUI picture
βββ README.md # Project documentation
-
Clone the repository:
git clone https://github.com/Munazza-Iman/WeatherApp.git
-
Navigate to the project folder:
cd weather-app -
Open the
index.htmlfile in your browser. -
Make sure to add your Google API key in the JavaScript file:
const apiKey = "YOUR_GOOGLE_API_KEY";
-
Type any city name in the search bar and press Enter to see real-time weather updates!
- π¦οΈ Add 5-day weather forecast.
- π± Improve responsive design for mobile devices.
- π Show sunrise and sunset times.
- π¨ Include theme options (light/dark mode).
- πΊοΈ Add an interactive map showing searched location.
Munazza Iman
