Live Demo : https://thriver652.github.io/WeatherApp/
WeatherApp is a simple and user-friendly web application that provides real-time weather information for any location around the world. It's built using HTML, CSS, and JavaScript, and it relies on the RapidAPI platform to fetch weather data. Whether you're planning a trip or just want to check the weather in your area, WeatherApp has got you covered.
-
Real-Time Weather Data: WeatherApp uses the RapidAPI service to fetch up-to-date weather information, ensuring you always have the most current data at your fingertips.
-
Search by Location: Enter the name of any city or location, and WeatherApp will provide you with detailed weather information for that area.
-
Weather Forecast: Get a 5-day weather forecast that includes temperature, humidity, wind speed, and more.
-
User-Friendly Interface: WeatherApp boasts an intuitive and responsive design, making it easy to use on both desktop and mobile devices.
-
Clone the repository to your local machine:
git clone https://github.com/thriver652/WeatherApp
-
Open the project folder in your favorite code editor.
-
Run
index.html
in your preferred web browser.
-
Launch the WeatherApp by opening the
index.html
file in your web browser. -
Enter the name of the city or location you want to check the weather for in the search bar.
-
Click the "Search" button or press Enter to retrieve the weather data.
-
The weather information will be displayed on the screen, including the current conditions and a 5-day forecast.
WeatherApp utilizes the RapidAPI platform to access weather data. To run this project, you'll need to sign up for a RapidAPI account and obtain an API key.
To configure the API key, open the js/app.js
file and replace 'YOUR_RAPIDAPI_KEY'
with your actual RapidAPI key in the following code snippet:
const apiKey = 'YOUR_RAPIDAPI_KEY';
If you'd like to contribute to WeatherApp, please follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bug fix:
git checkout -b feature/new-feature
-
Make your changes and commit them:
git commit -m "Add new feature"
-
Push your changes to your fork:
git push origin feature/new-feature
-
Create a pull request on the main repository.
This project is licensed under the MIT License - see the LICENSE file for details.
-
WeatherApp uses data provided by the RapidAPI Weather API.
-
Special thanks to the developers and contributors who helped make WeatherApp possible.
If you have any questions, suggestions, or feedback, please feel free to contact us at (mailto:tvspraneeth6502@gmail.com).
Note: WeatherApp is a personal project created for learning and demonstration purposes. It may not provide 100% accurate weather data and is not intended for critical weather-related decisions.