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

Testimonial-Grid-Section

yagnik0 420

@yagnik0

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


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

Any feedbacks are welcome.!

Happy Coding!🫡

Community feedback

@AkoToSiJeromeEh

Posted

Hey ! Great work out there i just notice that you are using margin-inline and margin-block in order to center Testimonials grid section but does not work , i suggest that you can use display : grid or display : flex and there related properties in order to center the element. that's all happy coding !!

you can see the difference when you inspect and zoom-in and zoom-out , notice that the testimonial section will behave on its position by adding those properties in main-container.

@media (min-width: 800px) {
  .grid-container {
    grid-template-columns: repeat(4, 1fr);
    margin-inline: auto; // remove this
    margin-block: 20rem; // remove this 
  }
}
.main-container {
  display: grid; // add this
  place-items: center; // add this
  min-height: 100vh; // add this
}

Marked as helpful

0

yagnik0 420

@yagnik0

Posted

@AkoToSiJeromeEh Thanks for the suggestions bro soon I'll make the changes and do it better.😌

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