Design comparison
SolutionDesign
Community feedback
- @grace-snowPosted over 2 years ago
Definitely do all of the above...
- except I recommend max width not width
- and very important to change height 100vh to min-height as this is broken on mobile landscape atm
- make container the main and attribution should be in a footer
- remove that br - use css margin to create space between elements, not breaks (they have meaning and get read out my screenreaders)
- Definitely need to rewrite that alt text. It needs to say exactly what it is. Eg "QR code to frontend-mentor.io"
1@VbanetyPosted over 2 years ago@grace-snow thanks a lot for the advices, I'll fix it.
0 - @denieldenPosted over 2 years ago
Hi Vinicius, great work on this challenge! 😉
Here are a few tips for improve your code:
- add
main
tag and wrap the card for improve the Accessibility - to make it look as close to the design as possible set
width: 20rem
tocontainer
class - remove all
margin
from.container
class because with flex they are superfluous - use
min-height: 100vh
insteadheight
to body - instead of using
px or %
use relative units of measurement likerem
-> read here
Overall you did well 😁 Hope this help!
1 - add
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