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

Responsive four card section with HTML, CSS using grid

Dangelo•480
@Dangelobast
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?

My biggest achievement through this exercise was being able to understand and learn about grid layout and properly adjust it to smaller viewport sizes.

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

There weren't any major challenges. However, I was curious about how it would be done using Flexbox instead of Grid since it would be more tricky. I didn't implement the whole code but played for a bit Meanwhile, flex is not the easiest option. It can be done with a combination of self-centering some elements and using transforms, too. Another way would be using relative and absolute positioning. After all, Grid is the easiest and best option since it is a two-dimensional layout.

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

Any UwUrecommendations are welcomed.

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