@MelvinAguilar
Posted
Hello there 👋. Good job on completing the challenge !
I have other suggestions about your code that might interest you.
HTML 🏷️:
-
The <br> tag is often used to create line breaks, but it doesn't convey any semantic meaning. When a screen-reader reads the text, it will break the flow of reading at the line break tag, which can be confusing for users.
-
You don't need to add
font-family: "Outfit"
to each<p>
,<h*>
separately. Instead, add it to body.
Alt text 📷:
-
The
alt
attribute should explain the purpose of the image. Uppon scanning the QR code, the user will be redirected to the frontendmentor.io website, so a betteralt
attribute would beQR code to frontendmentor.io
If you want to learn more about the
alt
attribute, you can read this article. 📘.
I hope you find it useful! 😄 Above all, the solution you submitted is great!
Happy coding!
Marked as helpful
@nadun-dhananjaya
Posted
@MelvinAguilar Hello! Thank you for your kind words and for taking the time to give me feedback on my code. I really appreciate it!
You make a great point about the <br> tag. I agree that it's often overused and doesn't add any semantic meaning to the code.
Thank you for your suggestion about the font-family. Adding it to the body element is a cleaner and more efficient way to apply the font to all the elements on the page. I will definitely update my code to reflect this.I also appreciate your feedback on the alt text for the QR code image.
Thank you again for taking the time to review my work!