Weather Webpage

Weather App

The Weather Webpage is a user-friendly web application designed to provide real-time weather information based on the user’s current geographical location. With a simple and intuitive interface, this application allows users to effortlessly access weather data with just one click.

How to Use the Weather Webpage:-

1. Open the Webpage:

2. Allow Location Access:

When prompted by the browser, allow access to your location. This is necessary for the application to fetch the weather data for your current location.

3. Get Weather Information:

Click the “Use My Current Location” button. The application will retrieve your location and display the current weather conditions.

4. View Weather Data:

After clicking the button, the following information will be displayed:

Location Name: The name of the city or area where you are located.

Temperature: The current temperature shown in both Celsius (°C) and Fahrenheit (°F).

Weather Condition: A brief description of the current weather (e.g., “clear sky,” “light rain”).

5. Refreshing Data:

To get updated weather information, simply click the “Use My Current Location” button again. This will fetch the latest weather data based on your current location.

Note :-

Ensure that your device’s location services are enabled for accurate results.

If geolocation is not supported or allowed, an error message will be displayed, prompting the user to check their browser settings.