@MelvinAguilar
Posted
Hi @for-dev9 ๐, good job completing this challenge, and welcome to the Frontend Mentor Community! ๐
Regarding your question:
- Even though this challenge is not a full page, you should use semantic tags and a title tag
<h1>
(level-one heading) in your solution. Inside your 'main' element, you can create an '<h1>' that will not be visible visually but is visible to screen-readers. To hide content visually, you can use the sr-only class. You can copy the styles of this class here.
<h1 class="sr-only">QR Card Component</h1>
The <h1>
element is the main heading on a webpage, also, there should only be one <h1>
tag per page.
- The <p> with text "Improve your front-end skills by building projects" , is considered a heading element, change it to an <h2>.
Good job, and happy coding! ๐
Marked as helpful
@for-dev9
Posted
@MelvinAguilar Thanks for your guide. Warning is gone after add <h1> tag.