Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Social proof section | 3 Grids and some flexbox

dkaffes 140

@dkaffes

Desktop design screenshot for the Social proof section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

Even though I started working the CSS layout using Flexbox for the .ratings-container and the .cards-container, I quickly realized that this approach is not that simple and robust. So I changed course and used Grid instead.

Next time I need to think of the design more and try to choose right from the start the most appropriate tool.

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

I had to do some research so as to produce the repeating icon-star.svg image. Reading through the related MDN documentation helped me overcome this challenge.

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

I did not get the correct spacing as it is given in the design for the desktop version. When I try to emulate the cards width, the position of the title on the background-image breaks and vice versa. I need some advice that has to do with the spacing between the elements.

I understand the difference between margin and padding but I would like some general advice:

  • How much padding is too much padding?
  • How much grid gap is too much?

When the spacing between elements is big, how should I approach the layout design?

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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