PavloShaparenko/react-weather-app — reverse-engineered prompt
Reverse engineered prompt
Build me a simple React weather app in JavaScript. I want someone to open it in the browser, type a city name, and see the current weather in a clean card with the city, temperature, weather description, icon, humidity, wind, and feels like temperature.
Make it feel polished but not overcomplicated. Add a nice background, a centered search box, clear loading feedback, and friendly error messages if the city is not found or the weather service fails. It should work well on mobile and desktop.
Use a free weather API and make the API key easy to configure, not hardcoded in the main code. If you need current API docs, look them up online. Keep the code organized inside the React app, with reusable components where it makes sense. Also update the README with setup steps so I can run it locally with npm and know where to put the API key.
Want more depth? Deep Reverse