Skip to content

HoneyTyagii/Weather-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather application

This repository contains the code and resources for my weather application. The weather application is designed to provide users with current weather conditions and forecasts for their desired locations.

Features

Location Search: Users can search for weather information by entering the name of a city or town. The app will display the current weather conditions for that location.

Forecast: The app provides a 5-day weather forecast, including temperature, humidity, wind speed, and weather conditions.

Favorites: Users can save their favorite locations to quickly access weather information for those places.

Responsive Design: The app is designed to work on both desktop and mobile devices, providing a seamless user experience.

Technologies Used

HTML: The structure and layout of the app are built using HTML5.

CSS: CSS3 is used for styling and responsive design.

JavaScript: The app's functionality is implemented using JavaScript, including fetching weather data from an API and dynamically updating the UI.

OpenWeatherMap API: Weather data is retrieved from the OpenWeatherMap API, which provides accurate and up-to-date weather information.

Getting Started

To run the weather app locally, follow these steps:

Clone the repository: git clone https://github.com/HoneyTyagii/Weather-Application

Navigate to the project directory: cd weather-app

Open the index.html file in your preferred web browser.

Configuration

To configure the weather app, you'll need an API key from OpenWeatherMap. Follow these steps:

Visit the OpenWeatherMap website and sign up for an account.

Once logged in, go to your account dashboard and navigate to the API Keys section.

Create a new API key for your weather app.

Copy the generated API key.

Open the script.js file in the project directory.

Replace the placeholder value 'YOUR_API_KEY' with your actual API key obtained from OpenWeatherMap.

Save the changes.

Contributing

Contributions to the weather application are welcome! If you would like to contribute, please follow these steps:

Fork the repository.

Create a new branch for your feature or bug fix: git checkout -b my-feature

Make your changes and test them thoroughly.

Commit your changes: git commit -m 'Add some feature'

Push the branch to your forked repository: git push origin my-feature

Create a pull request on the main repository.

Provide a detailed description of your changes and why they should be merged.

License

This weather application is licensed under the MIT License. Feel free to modify and distribute it as needed.

Acknowledgments

The weather application was inspired by the desire to create a simple and intuitive way for users to access weather information.

Thanks to the creators of the OpenWeatherMap API for providing accurate and reliable weather data.