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 Flex Box

@anastasis01

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Let me now what you think of my page. Does anyone know any standard path when making pages responsive? Like a step by step prosess?

Community feedback

Mzu Soci 170

@Mzu-Soci

Posted

Hello Anastasios

The resource that assisted me to understand how to make my sites responsive is Conquering Responsive Websites by Kevin Powell. The course is free on this link - https://courses.kevinpowell.co/conquering-responsive-layouts

His approach to guaranteed responsive sites starts with understanding how to set the widths and heights of all items on your page.

Marked as helpful

0

@anastasis01

Posted

@Mzu-Soci I will definitely check it out,thank you!

0

@dusan-b

Posted

Hello Anastasios,

To answer your question, it is much easier to create the mobile layout first, as the desktop layout is usually more complex and requires additional style rules. So for wider screens, it's a good approach to add media queries with min-width.

Also, to make your webpage more accessible, it's a good start to replace certain div tags with semantic HTML5 elements.

<body>

  <main class="flex-container">
    ...
  </main>

  <footer class="attribution">
    ...
  </footer>

</body>

These small changes make it much easier for screen reader users to navigate through the content.

Hope this helps. Keep up the good work, and happy coding :).

Marked as helpful

0

@anastasis01

Posted

@dusan-b That was hugely helpful. Thank you!

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