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 with CSS Flexbox and CSS Grid

@Ryan-OHanlon

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?

What I'm most proud of is that I'm starting to develop a better understanding of CSS Grid and that grids involve using a parent child relationship so you need to use two HTML container elements for CSS Grid to work.

If I could do something different this time, it would be to spend more time planning what the framework of the HTML elements to create CSS classes that would categorize the elements to make the stylesheet and html document readable on the backend.

What challenges did you encounter, and how did you overcome them?

The main challenges I encountered was how to use CSS Grid and CSS Flexbox together to handle margin and padding between the HTML elements.

When it came to grouping the portrait, the name and sub-title and having them organized I had to use a mix between CSS Grid and Flexbox to align the elements together. While this did place the elements together, I'm certain there is a better solution as dealing with the built-in margins and padding of paragraph elements to come closer together and being able to place them in a very specific spot makes designing the CSS rules very difficult.

.person {
    display: flex;
    align-items: center;
}

.personname p {
    margin: 0 0 5px 1rem;
}

What specific areas of your project would you like help with?

If there is one area I still would like help with each project is to know, when should I start limiting the size of objects for each project.

While I strive to match the mobile and desktop design pictures, I still struggle dealing with padding, margins and how to group HTML elements together and not take up the entire block. Sizing container elements so that it matches the challenge still elude me as I try to be a perfectionist.

Community feedback

@xaintobas

Posted

Hi @Ryan-OHanlon, nice work on your design!

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