A sleek weather app built with React.js and OpenWeather API
Back to PortfolioThis React.js weather application delivers real-time weather updates and a 5-day forecast based on user location or input. Powered by the OpenWeather API, it offers current conditions (temperature, humidity, wind speed) with dynamic icons, plus a toggle between Celsius and Fahrenheit. Designed responsively, it ensures a smooth experience across desktop and mobile devices.
create-react-app, integrated OpenWeather APIuseState, useEffect) to handle weather data and UI updatesfetch or axios, processed JSON responses
**Current Weather (New York, Mock):**
Output: “Temperature: 18°C (64°F), Humidity: 70%, Wind: 10 km/h, Condition: Partly Cloudy”
Icon: Cloud with sun
**5-Day Forecast (Mock):**
Day 1: “20°C, Sunny” | Day 2: “22°C, Rain” | Day 3: “19°C, Cloudy”
Day 4: “17°C, Windy” | Day 5: “21°C, Clear”
Clone the repo, install dependencies, and run npm start! See GitHub for setup.