@MelvinAguilar
Posted
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!
@33marvs33
Posted
@MelvinAguilar thank you very much for this information hehe ill edit my code