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

Responsive social proof section using CSS grid and flexbox

Kenny Ng 400

@kennylun123

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


Hi everyone, this is my solution of "social proof section".

In this challenge I learned,

  • Reinforced learning on grid items' positioning
.ratings > div:nth-of-type(1) {
  align-self: start;
}

.ratings > div:nth-of-type(2) {
  align-self: center;
}

.ratings > div:nth-of-type(3) {
  align-self: end;
}

.testimonial > article:nth-of-type(1) {
  margin-block: 0 2rem;
}

.testimonial > article:nth-of-type(2) {
  margin-block: 1rem;
}

.testimonial > article:nth-of-type(3) {
  margin-block: 2rem 0;
}

Any feedback would be appreciated. Thanks for your attention.

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