Design comparison
Solution retrospective
What did you find difficult while building the project?
I didn't find anything difficult, it was a straightforward.
Which areas of your code are you unsure of?
None
Do you have any questions about best practices?
N/A
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 π:
- Use semantic elements such as
<main>
and<footer>
to improve accessibility and organization of your page.
- 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. Source π.
-
Setting a defined
height
for the card component is not recommended (height: 60%;
). The content should define the component height, otherwise, it will not be allowed to extend beyond your specifications. screenshot.
I hope you find it useful! π Above all, the solution you submitted is great!
Happy coding!
Marked as helpful2@OluwadaraDailyPosted almost 2 years ago@MelvinAguilar Thank you very much. I'll heed to these advices
1 - Use semantic elements such as
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