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

Four Card Feature Selection using CSS Grid and Flexbox

David•130
@OMallesDev
A solution to the Four card feature section 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?

The thing I'm most proud of is figuring out how to use CSS Grid for this challenge. It was definitely something I had to dig into several different resources to get nailed down but I was able to get it function and I have a small grasp on what I'm doing.

What I'd do differently next time I'm not 100% sure. Hopefully it will take less trial and error to get what I need from my code.

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

The largest challenge was taking the grid of the desktop version and changing it over to flexbox when switching to smaller screens. Overcoming it was definitely a continuous trial of reading different articles and forum posts while also implementing different solutions and seeing what stuck.

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

Tips

  • Better understanding of CSS Grid and if there are things I could do differently to make it easier.

  • Wasted code in my media query. I know it's there but it seems like every time I start to remove something it changes the layout completely.

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 David'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

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