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 challenge

@gosiast

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


I found it hard to change the width of the reviews with stars and couldn't make it a cascading one like in the design. The same with reviews, I think I'm on the right track but didn't know how to make them the same as in the design. It kept breaking. Any ideas on how to fix that? Thank you

Community feedback

P
dagimchi 170

@dagimchi

Posted

Hello. I just completed this challenge. To change the width you can just add padding-right & left to your list element with a class of .stars-review. To make it cascade I used the transform: translateX(value); property on the the second and third review with stars row.

You can do the same for your verified buyer boxes but use transform: translateY(value); instead because you'll want to cascade in the Y-axis direction.

https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate

Here's my repo if you want to take a look:

https://github.com/dagimchi/Social-proof-section

Great job on completing it though, this one took some time for me.

Marked as helpful

0

@gosiast

Posted

@dagimchi thank you so much! It worked :)

0

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