This is a weather application that provides current weather information, including temperature, humidity, wind flow, cloud coverage, sunset, and sunrise times. It is built using HTML, CSS, JavaScript, and utilizes the RapidAPI platform to fetch real-time weather data.
- Display current weather information based on user's input location.
- Show temperature in Celsius.
- Provide details such as humidity, wind flow, and cloud coverage.
- Display sunset and sunrise.
- HTML: Used for structuring the web page.
- CSS: Used for styling and layout.
- JavaScript: Used for fetching weather data and manipulating the DOM.
- RapidAPI: Used as a data source for retrieving weather information.
To run the weather application locally, you need to have the following:
- Web browser with JavaScript support.
- API key from RapidAPI (sign up and get the key from RapidAPI website).
- Clone the repository:
gh repo clone aashup1710/Weather-application- Open the project directory:
cd weather-application- In the
tefv.jsfile, replace'YOUR_API_KEY'with your RapidAPI key:
const apiKey = 'YOUR_API_KEY';- Open
index.htmlin a web browser.
- Upon loading the application, it will display weather of Delhi by default. You can further search for different places using the search box.
- The application will display the current weather, including temperature, humidity, wind flow, cloud coverage, sunset, and sunrise times.
Contributions to the weather application are welcome! If you find any bugs or have suggestions for improvement, please submit an issue or create a pull request.
This project is licensed under the MIT License.
- The weather data is provided by RapidAPI.
- Weather by API-Ninja for their weather data API.
Feel free to customize this README file according to your project's specific details. Good luck with your weather application!