Design comparison
SolutionDesign
Solution retrospective
What did you find difficult while building the project? nothing cause its beginner friendly Which areas of your code are you unsure of? in the css Do you have any questions about best practices? none
Community feedback
- @MelvinAguilarPosted almost 2 years ago
Hello π. Congratulation on successfully completing your first challenge π ! !
I have some recommendations regarding your code that I believe will be of great interest to you.
HTML π·οΈ:
- Since this component involves scanning the QR code, the image is not a decoration, so it must have an
alt
attribute. Thealt
attribute should explain its purpose. e.g.QR code to frontendmentor.io
CSS π¨:
- Instead of using pixels in font-size, use relative units like
em
orrem
. The font-size in absolute units like pixels does not scale with the user's browser settings. Resource π.
- Remove the
max-width
from the main element and allow it to occupy 100% of the screen width regardless of device; otherwise, your solution will not be centered on 4k screens.
I hope you find it useful! π Above all, the solution you submitted is great!
Happy coding!
0@33marvs33Posted almost 2 years ago@MelvinAguilar thank you very much for this information hehe ill edit my code
0 - Since this component involves scanning the QR code, the image is not a decoration, so it must have an
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