Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

Fully Responsive Social Proof Section using Grid and Flex

bem
Madhavan•370
@madhavan-ts
A solution to the Social proof section challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I have completed this as my 11th challenge in Frontend Mentors. I am glad to accept any feedback and suggestions regarding the accessibility and the techniques that I have used to develop the webpage.

I have learned some grid properties and made use of auto-fit, min-content, max-content values in grid. I have came across the :nth-of-type() pseudo selector and also used it.

Learned to make the page more responsive using the multiple breakpoints when the page breaks

.reviews {
  grid-column: 1/-1;
  display: grid;
  gap: 3.5rem;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  padding: 2rem 4rem;
}

.review__card:nth-of-type(2){
  margin-top: 2rem;
} 

If anybody has an easier approach then I am happy to hear that and please go through the code and if you have to correct any mistakes I am happy to recive the comments.

Advance thanks for the comments 🫡.

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