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 Challenge

Shahin NJ 1,190

@SJ-Nosrat

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


Hi, I implemented CSS Grid in the following way:

  1. Designed for the Mobile first as per design requirements.
  2. In between the Mobile and the Desktop design I add the following code: grid-template-columns: repeat(auto-fit, minmax(327px, 0.75fr)) so as to adapt to the screen viewport width.
  3. Designed for the Desktop as per design requirements; placing the grid items explicitly and then using the CSS transform property to achieve the desired look.

Please let me know, if my approach was correct! Thanks in advance!

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