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 design with flex

P
tomdu3β€’ 20

@tomdu3

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


This is a new attempt at solving this challenge...

Community feedback

Ferβ€’ 3,970

@fernandolapaz

Posted

Hi πŸ‘‹, in case you want to take a look:

HTML 🧱:

  • The main content of every page (the card in this case) should be wrapped with the <main> tag.

CSS 🎨:

For example, these are some very common and useful ones:

*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

picture,
img,
svg {
display: block;
max-width: 100%;
}
  • Length units such as pixels may not be the best alternative because absolute units don’t scale. Relative units like rem or em are a better option for scalable layouts (the page will adjust to the user's browser settings) and maintenance (to make changes without having to adjust every pixel value).
  • You don't need to use font-weight of 400 and 700 as these are the default values for normal and bold fonts. So, these are the default values for paragraphs and headings.

Please let me know if you want more info on any of these topics or disagree with something. I hope it’s useful πŸ™‚

Regards,

Marked as helpful

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