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

Testimonials grid section

Desktop design screenshot for the Testimonials grid section coding challenge

This is a solution for...

  • HTML
  • CSS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


thanks for the feedback

Community feedback

Arturo Simon 1,785

@artimys

Posted

Great job with the challenge Esteban 👍👍. You captured the testimonial card details really well.

The only feedback I will provide is to organize your css classes to remove duplicating styles. For classes div.testimonial__grid1 through div.testimonial__grid4, they share a lot of common styles that make up the card.

I'll leave a simple example on how to approach it below. You can change the names to your liking. I'm just naming them using the BEM way. More info on BEM if interested

.testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 10px 10px 110px -51px rgba(0, 0, 0, 0.75);
}
.testimonial-card--grid1 { 
// add specific styles that make grid1
}
.testimonial-card--grid2 { 
// add specific styles that make grid2
}

<div class="testimonial-card testimonial-card--grid1">
    ....
</div>
<div class="testimonial-card testimonial-card--grid2">
    ....
</div>

Great work!! Keep on coding 👍

1

@zidoxx

Posted

@artimys thanks for the feedback, im just starting in BEM and i have some difficulties to understand it, thanks for the info, and sorry for my poor english.

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