weather-Application

Table of Contents Introduction Features Installation Usage Configuration Technologies Used Contributing License

Introduction

The Weather Application is a simple and user-friendly web application that provides real-time weather information for any location in the world. It fetches data from a weather API and displays the current weather conditions, including temperature, humidity, wind speed, and more.

Features

Get current weather information for any location. Display temperature, humidity, wind speed, and weather conditions. Search for weather data by city name. Responsive design for mobile and desktop users.

Installation

Prerequisites A modern web browser. Steps Clone the repository: sh Copy code git clone https://github.com/kritika108/Weather-Application.git Navigate to the project directory: sh Copy code cd Weather-Application Open the index.html file in your web browser.

Usage

Open index.html in your preferred web browser. Enter the name of the city for which you want to fetch the weather data. Click the "Get Weather" button to view the current weather information.

Configuration

To fetch weather data, you need an API key from a weather service provider (e.g., OpenWeatherMap).

Sign up on the weather service provider's website and obtain an API key. Open the script.js file and add your API key to the relevant variable: javascript Copy code const apiKey = '4742d51f6a98ed8f474c288fbf457286'; Save the file.

Technologies Used

HTML: For structuring the application. CSS: For styling the application. JavaScript: For implementing the application logic. Weather API: To fetch real-time weather data.

Contributing

Contributions are welcome! Please follow these steps:

Fork the repository. Create a new branch (git checkout -b feature/your-feature). Make your changes. Commit your changes (git commit -m 'Add some feature'). Push to the branch (git push origin feature/your-feature). Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Built With

Share this project:

Updates