Skip to content

Saurabh23089/mausam

Repository files navigation

Weather Web App

Welcome to the Weather Web App! This application allows users to search for weather information for different cities.

Features

  • Current Weather: View current weather details including temperature, humidity, and wind speed for the searched city.
  • Forecast: Get a 5-day temperature details for the searched city for each day.
  • Automatic Location Detection: The app automatically detects the user's location to provide weather information for their current city.
  • Toogle Modes: User can also switch between light and dark mode.

How to Use

  1. Search for a City: Enter the name of the city you want to get weather information for in the search bar.
  2. View Weather Details: Once you submit the city name, the app will display current weather details and a 5-day forecast.
  3. Automatic Location Detection: If you don't specify a city, the app will automatically detect your location and show weather details for your current city.

Technologies Used

  • CSS: Used for adding styles to make UI visually appealing.
  • React: Frontend framework for building the user interface.
  • JavaScript (ES6+): Programming language used for application logic.
  • Fetch API: Used to make HTTP requests to fetch weather data from the OpenWeatherMap API and IP address information from ipify.org and ipapi.co.

Installation