Using CSS grid and some CSS flex to complete this challenge
Design comparison
Solution retrospective
Really challenging for me to complete this but using CSS is the best way to solve this challenge.
Community feedback
- @HassiaiPosted almost 2 years ago
Replace <div class="project"> with the main tag <main> to fix the accessibility issues.
The body has a wrong background-color.
Give .f-grid a fixed width value instead of giving .project a percentage width value. there is no need to give .project a width value. .f-grid
width: 600px
. in the media query give .f-grid a max-width value for a responsive content.Give . box a padding value for all the sides, this will be the padding value for all the boxes.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
0
Please log in to post a comment
Log in with GitHubJoin 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