Skip to content

mohamedreda22/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

This is a simple web application that allows users to check the weather conditions for a specific city. It uses the OpenWeatherMap API to fetch weather data and displays it in a user-friendly format.

Preview

111 222 333

Live Demo on GitHub Pages

https://mohamedreda22.github.io/weather-app/

Features

  • Search by City: Users can enter the name of a city and get the current weather information for that location.

  • Responsive Design: The app is designed to work on both desktop and mobile devices.

  • Weather Icons: Weather conditions are represented by appropriate weather icons for better visualization.

  • Background Images: The background of the app changes based on the weather conditions, adding a visual element to the user experience.

Technologies Used

  • React: A JavaScript library for building user interfaces.

  • Bootstrap: A front-end framework for creating responsive and visually appealing web pages.

  • OpenWeatherMap API: Provides weather data for cities around the world.

  • React Icons: A library of customizable icons for React applications.

How to Use

  1. Clone the Repository: [git clone https://github.com/mohamedreda22/weather-app.git]

  2. Install Dependencies: [cd weather-app] [npm install]

  3. Get an API Key:

You need to sign up on the OpenWeatherMap website to get an API key. Replace "YOUR_API_KEY" in the code with your actual API key.

  1. Run the Application: [npm start]

The app will open in your default web browser.

  1. Search for Weather:

Enter the name of a city in the search bar and click "Search" to get the weather information for that city.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Author

  • Mohamed Reda

About

This is a simple weather app with custom background depends on the city

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published