rj-rayat/Top-News-for-MERNB1 ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple news app called Top News that shows the latest headlines in a clean, modern layout.

I want the home page to feel easy to scan, with a header, a search box, and a few sections for top stories and different categories. Show each story in a card with the title, source, short summary, image if available, and a link to read more. Make it responsive so it looks good on desktop and mobile.

Use React with the existing Vite setup, keep the code organized, and make the UI polished but not overcomplicated. If you need current API details or best practices, look them up online and wire it up in a sensible way. Also add basic loading and error states so the app feels complete.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab