This weather application is developed using React JS and the OpenWeatherMap API to retrieve up-to-date weather data for any location. Users can enter the name of a city or choose their current location (if their device supports it) to see current weather conditions like temperature, humidity, wind speed, and weather description. The app features a user-friendly interface that presents weather information aesthetically pleasingly.
- User-friendly interface for easy navigation and interaction.
- Input field to search for the weather by city name.
- Option to use geolocation to fetch weather data for the user's current location.
- Real-time weather updates retrieved from the OpenWeatherMap API.
- Display essential weather details such as temperature, humidity, wind speed, and weather description.
- Error handling for invalid inputs or failed API requests.
- Responsive design to ensure compatibility across various devices and screen sizes.
- React JS: A popular JavaScript library for building user interfaces.
- OpenWeatherMap API: Provides access to weather data worldwide.
- HTML/CSS: Standard web technologies for structuring and styling the app.
- JavaScript: A programming language for implementing interactive features and logic.
- GitHub: Hosting platform for version control and project management.
To use the Weather App:
- Clone the repository to your local machine.
- Obtain an API key from OpenWeatherMap and replace the placeholder in the code with your actual key.
- Install dependencies using npm or yarn.
- Run the app locally using npm start or yarn start.
- Enter a city name in the search field or allow the app to access your current location.
- View the current weather conditions for the specified location.
Contributions to the project are welcome! If you find any bugs or have suggestions for improvements, feel free to open an issue or submit a pull request on GitHub.