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

Hamid Mahmoodβ€’ 540

@Hamid210545

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


This is an amazing project and it really test your css skills especially css most important property CSS Grid .... I like this project and I have done my best to achieve it ...... There is no difficulty in achieving the design ...... Frontend mentor is an amazing plateform

Community feedback

Lucas πŸ‘Ύβ€’ 104,420

@correlucas

Posted

This comment was deleted

1

Hamid Mahmoodβ€’ 540

@Hamid210545

Posted

@correlucas Thanks ,..... i will put that in my mind and will practice it later... Thanks

0

@VCarames

Posted

Hey @Hamid210545, some suggestions to improve you code:

  • The profile images Alt Tags need to be improved. It should state the following; β€œHeadshot of -person’s full name-β€œ

  • Remove the min-height from .testimonials not need.

  • You want to add a third layout to make the transition from mobile πŸ“± -> desktop πŸ–₯ views smoother.

  • Using CSS Grid with Grid-Template-Areas will make things way easier when building the layout and give you full control of it.

Here is how it looks like fully implemented: EXAMPLE

Desktop View Code:

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-template-areas:
      "daniel daniel jonathon kira"
      "jeanette patrick patrick kira";
    gap: 30px;
  }

  .daniel-card {
    grid-area: daniel;
  }
  .jonathan-card {
    grid-area: jonathon;
  }

  .jeanette-card {
    grid-area: jeanette;
  }

  .patrick-card {
    grid-area: patrick;
  }

  .kira-card {
    grid-area: kira;
  }

Happy Coding! πŸ‘»πŸŽƒ

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