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 using grid

Bazz 165

@Basit-Dev

Desktop design screenshot for the Testimonials grid section coding challenge

This is a solution for...

  • HTML
  • CSS
2junior
View challenge

Design comparison


SolutionDesign

Community feedback

P
Grace 27,950

@grace-snow

Posted

This looks pretty nice.

One thing to avoid though - you won't want to set body to be 100vw and 100vh. Viewport units don't take into account scrollbars, so is making your content off-center. Better to just give html and body a min-height: 100vh; if you want to use viewport units.

I also suggest:

  • not using the transform: translate method to center your content on the page. margin: 0 auto; would do.
  • making use of your grid at a smaller breakpoint. It stays single column for ages when there is plenty of space for cards to sit next to each other on mid size screens. You don't even need to use grid on mobile unless you really want to, or you could use a single column grid, then a 2 column at next breakpoint and then 4 column at largest breakpoint (I'm thinking of min-width mobile-first media queries here)
  • Looking into grid-template areas. I think you'll like them :)

Happy coding!

1

Bazz 165

@Basit-Dev

Posted

@grace-snow Thanks Grace....your feedback means a lot and I'm learning from it :-)

1
P
ApplePieGiraffe 30,565

@ApplePieGiraffe

Posted

Hey, good work, Bazz! 🙌

Your solution looks good and is responsive! 👍

I only suggest,

  • Perhaps making the background of the page the same light blue color as the original design would make it look a little nicer. 😊

Keep coding (and happy coding, too)! 😁

0

Bazz 165

@Basit-Dev

Posted

@ApplePieGiraffe thanks... I’ll defo give that a go! 🙂

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