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

Responsive css

Peter Wahu 190

@Pe-te-r

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 specific areas of your project would you like help with?

How to make it responsive using css grid. It wasn't working when i use grid to display smaller screen.

Community feedback

Gloryjaw 320

@Gloryjaw

Posted

Nice work with challenge. There are some shortcomings.

1.) First, answer to your question, use media query for the different sizes. One way I use is first develop the mobile design, then apply media query for tablet design and then finally, another media query for desktop design.

2.) Your code is not semantic, try not to use lot of div tags and use more semantic tags. (You can search about semantic tags if you don't know about them.)

3.) I can see in your code that you have media query at the middle of code, that's not a good practice. Always put your media queries at the end of your CSS file. The reason for that is CSS will override media query if it is not at the end of CSS file.

That's all for me, keep coding.

Marked as helpful

1

Peter Wahu 190

@Pe-te-r

Posted

Thanks buddy, I will try to adjust accordingly and improve on responsiveness.

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