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

results summary components main using css grid and flexbox

@oyesina-paul

Desktop design screenshot for the Results summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

Your feedback is appreciated and will go a long way.

Thanks, Paul.

Community feedback

Daniel 🛸 44,230

@danielmrz-dev

Posted

Hello @oyesina-paul!

Your solution looks great!

I have a suggestion:

  • Since you set grid to the body, but you didn't set the size of the rows, your footer is pushing your card up a little bit. You can prevent that from happening adding this to the body:
grid-template-rows: 90% 1fr;

Then your card will always occupy 90% of the space and the footer will adapt in the remaining space.

I hope it helps!

Other than that, you did an excellent job!

0

@oyesina-paul

Posted

Hello @danielmrz-dev

Thanks a lot for your review. I really appreciate.

When i tried setting the grid-template-rows: 90% 1fr; on my body. The space at the top of my card centering it dissappeared. What do you think caused that or is it just on my desktop?

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