@rayaatta
Posted
Hello 👋Parkavan2003, congratulations on completing this challenge 🎉
I have some suggestions you might find interesting.
1
Try to make your html more Semantic by wrapping the main page content inside a <main>
tag .
Replace
<div class="container">
With
<main class="container">
.
This changes nothing visually but
Using it makes all the difference.
Using semantic markup improves
SEO
And user experience (accessibility) for people using assistive technology such as screen readers.
2
I noticed <h2>
in your code.since it is the only heading in the document you should replace it with <h1>
.
Here's a quick guide on how to use them:
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.
You can then style them in you css.
Unlike what most people think, it's not just about the size and weight of the text It is about maintaining a clear and consistent hierarchy through out the document
3
The Alt attribute should have text including where the qr code leads.
I.e
alt="qr code leading to frontendmentor.io"
I hope this helps 🙃
Happy coding ✌️
Marked as helpful
@Parkavan2003
Posted
Hello @rayaatta,
Thank you for the valuable suggestions! I appreciate your attention to semantic markup and its impact on SEO and accessibility.
Great tip on using <main> for the main page content, and I'll make sure to implement that for improved structure.
I'll update the heading to <h1> for better document hierarchy, ensuring a clear and consistent structure.
Good catch on the alt attribute for the QR code! I'll make sure to include descriptive text for better user understanding.
Your insights are truly helpful, and I'm grateful for the guidance. Happy coding to you too! ✌️
@rayaatta
Posted
I'm always happy to help@Parkavan2003
@Parkavan2003
Posted
Hi @rayaatta, Would you mind Can you see and give valuable suggestion to my other two challenges? I believe that will be very useful for me to develop some skills.
@rayaatta
Posted
I am checking out one, the blog Preview@Parkavan2003