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 Component(Responsive Design)

@melquawest

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


I did not find anything difficult while building this project. However, I learned how to publish websites freely on github. Also, I learned how to write markdowns. Lastly, When is it okay to use flexbox as opposed to grid?

Community feedback

P

@unachoza

Posted

some suggestions for responsiveness:

change your big-container media query (I recommend a smaller media query, try 600px instead of 930px)

display: flex;
flex-direction: column;
width: 100%
/* flex-wrap: wrap*/

also adding this to body to remove default margins (will also improve your mobile view)

    margin: 0;
    padding: 0;
    box-sizing: border-box;

Marked as helpful

0

@melquawest

Posted

This has been helpful. Thank you @unachoza

0
Oficial51 270

@oficial51

Posted

  • CSS Grids helps you create the outer layout of the webpage. You can build complex as well responsive design with this. This is why it is called ‘layout first’.

    -Flexbox mostly helps align content & move blocks.

    -CSS grids are for 2D layouts. It works with both rows and columns.

    -Flexbox works better in one dimension only (either rows OR columns).

    In conclusion . It will be more time-saving and helpful if you use both at the same time.

0

@melquawest

Posted

Thanks for sharing @oficial51

1

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