This repository contains the source code for a simple Weather App. The application provides weather information for a specific location, including current conditions, temperature, date and time, and various highlights such as UV index, wind status, sunrise and sunset times, humidity, visibility, and air quality.
Click here to view Demo.
-
Search Functionality: The app allows users to search for weather information for a specific location.
-
Current Weather Display: It displays the current weather conditions, temperature, date and time.
-
Weather Icons: Weather icons are dynamically updated based on the current weather conditions.
-
Temperature Unit Switch: Users can switch between Celsius (ยฐC) and Fahrenheit (ยฐF) temperature units.
-
Hourly and Weekly Options: The app provides options to view either today's hourly forecast or the weekly forecast.
-
Highlights Section: Displays key weather highlights, including UV index, wind status, sunrise and sunset times, humidity, visibility, and air quality.
To run the Weather App locally, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/gmpsankalpa/Weather-Forecast-Web-App.git
-
Navigate to the project directory:
cd Weather-Forecast-Web-App
-
Open the
index.html
file in your preferred web browser.
-
index.html
: The main HTML file that defines the structure of the Weather App. -
css/
style.css
: The stylesheet file that defines the visual style of the application. -
icons/: Directory containing weather icons.
-
js/
script.js
: The JavaScript file responsible for handling the app's functionality.
If you'd like to contribute to the Weather App, please follow these steps:
- Fork the repository on GitHub.
- Create a new branch for your feature:
git checkout -b feature-name
. - Make your changes and commit them:
git commit -m 'Add new feature'
. - Push your changes to your fork:
git push origin feature-name
. - Open a pull request on the main repository.
This Weather App is licensed under the MIT License.