Design comparison
Solution retrospective
Feedback welcome π
Community feedback
- @danielmrz-devPosted 10 months ago
Hello @RgBunn!
Your solution looks excelent!
I have just one suggestion:
- Also, for semantic reasons, and since that is the main title of the screen, you can replace the
<h2>
with<h1>
. Unlike what most people think, it's not just about the size and weight of the text.
π The
<h1>
to<h6>
tags are used to define HTML headings.π
<h1>
defines the most important heading.π
<h6>
defines the least important heading.π Only use one
<h1>
per page - this should represent the main heading/subject for the whole page. Also, do not skip heading levels - start with<h1>
, then use<h2>
, and so on.This change has little or not effect at all on the project, but it makes your HTML code more semantic, improving SEO optimization as well as the accessibility of your project.
I hope it helps!
Other than that, you did a great job!
Marked as helpful1@RgBunnPosted 10 months ago@danielmrz-dev Thanks a lot for your suggestion, I appreciate it. I'll use it in my future projects.
1 - Also, for semantic reasons, and since that is the main title of the screen, you can replace the
- @MelvinAguilarPosted 10 months ago
Hello there π. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
Alt text π·:
- The
alt
attribute should not contain the words "image", "photo", or "picture", because the image tag already conveys that information.
-
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. π.
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 π.
I hope you find it useful! π Above all, the solution you submitted is great!
Happy coding!
Marked as helpful0@RgBunnPosted 10 months ago@MelvinAguilar Thank you very much for your feedback! I appreciate it. Both are very valid points Β ππ» it will definitely help me in the future.
0 - The
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