Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Four card feature section (mobile-first approach)

LonlySoft•170
@Lonlysoft
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?

I knew what I could use at first sight: I could use multiple flex-boxes like in the previous challenges. I had a second thought to use grid, but in the end I didn't use it because... firstly I'm not used to CSS grid, and secondly I was quite unsure that it was the right thing to do. Because I was thinking so much in grid because of the situation of adding newer cards to the section, but since in the design it wasn't requested that "new cards must follow a certain rule" I just opted to nested flexboxes. And I also like that SVG positioning worked first try. (Beside still inline, I indented the tags so they aren't as messy as before)

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

I said that I would have used grid for the card positioning. Is it really easier doing it on grid (by that I mean it wasn't needed to nest another flexbox in the middle element) or was I just thinking it wrongly?

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