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

Responsive Bento-style grid layout using CSS Grid and Flexbox.

Waldo-Noe-Liberato-Jara•40
@Waldo-Noe-Liberato-Jara
A solution to the Bento grid 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 having completed this project without using Figma or any other design software. Instead, I relied on the provided image and adapted the design for the requested screens.
  • Next time, I would approach the layout with a better understanding of CSS Grid, avoiding fixed media-based breakpoints. I'd explore more flexible options for responsive layouts.
What challenges did you encounter, and how did you overcome them?
  • Aligning image dimensions: Ensuring images fit well within the layout was challenging.
    • Solution: I tested different image sizes and aspect ratios to make them fit. Using CSS properties like object-fit helped with maintaining aspect ratios.
  • Making the site responsive: Adapting the layout for various screen sizes took time.
    • Solution: I used precise measurements for row, column, and image sizes. Checking available CSS properties and experimenting with practical solutions improved my understanding of responsiveness.
What specific areas of your project would you like help with?
  • Since I relied solely on an image for guidance, I'm unsure if my font sizes, image sizes, and even the overall grid layout match what was intended.
  • Feedback request: I'd appreciate feedback on best practices for approximating font and image sizes when only an image is provided. Any tips on achieving a balanced grid layout that closely resembles a reference image would be incredibly 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 Waldo-Noe-Liberato-Jara'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