@PhoenixDev22
Posted
Hi DĂ©bora Carvalho,
Congratulation on completing your first frontend mentor challenge. I have some suggestions regarding your solution if you don't mind:
- In my opinion, the image is an important content. The alternate text is needed on this image. The alternate text should indicate where the Qr code navigate the user : like
QR code to frontend mentor
not describes the image.
- Page should contain
<h1>
. In this challenge, as itâs supposed to be a part of a whole page, you may use<h1>
visually hidden with class=âsr-onlyâ. You can find it here
- Itâs not recommended to use
<br>
in the<p>
to make the paragraph break in new line, You may usemax-width
to<p>
and remove that<br>
. Adding<br />
is semantically incorrect! <br> is meant to be used when the division of lines is significant. E.g. addresses, poems, etc...
- An explicit width is not a good way to have responsive layout . Consider using
max-width
to the card inrem
.
height: 500px
It's not recommended to set fixed height to component, you almost never want to set it. let the content of the component define the height.
- Consider using rem and em units as they are flexible, for font-size better to use rem. If your web content font sizes are set in absolute units, such as pixels, the user will not be able to re-size the text or control the font size based on their needs. Relative units âstretchâ according to the screen size and/or userâs preferred font size, and work on a large range of devices.
- Remember a modern css reset on every project that make all browsers display elements the same.
Overall, great work! hopefully this feedback helps.
@DeboraCristinaP
Posted
@PhoenixDev22 Thanks for the feedback. This will help in my learning.
@PhoenixDev22
Posted
@DeboraCristinaP Glad to help. Happy coding!