Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 6 months ago

css grid, flexbox, vanilla java scrip , mobile first responsive design

accessibility, backbone, foundation, next
Abayneet singh•20
@Abayneetsingh
A solution to the News homepage challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm proud of how closely I matched the original design and maintained responsiveness across mobile, tablet, and desktop screen sizes. I used CSS Grid for the main layout and practiced semantic HTML throughout. Next time, I’d plan my breakpoints more strategically and possibly use a CSS preprocessor to organize my styles better.

What challenges did you encounter, and how did you overcome them?

One major challenge was aligning the card grid layout in the "Top Stories" section to match the mockups exactly. It took some experimenting with Grid template-areas and auto-fit techniques to get it right. I also found that debugging spacing on mobile was tricky, so I used Chrome DevTools to test each viewport and adjust padding and margin accordingly.

What specific areas of your project would you like help with?

I'd like feedback on my responsive layout and how well it adapts to different screen sizes. I'm also looking to improve my CSS organization and ensure my code follows best practices. Any tips on accessibility or cleaner structure would be helpful.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Abayneet singh's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License