@iammukeshmahato
Posted
Hi @anhhuynh1506,
Congratulaton for completing your first project. You have done a great work.
Its seems Frontend Mentor have generated some Accessibility Issues, they are:-
- Document should have one main landmark
- Page should contain a level-one heading
You can fix this issues by using the following tips:
-
In your index.html file, you have
<section>...</section>
tags, wrap the wholesection
element into a<main>...</main>
to fix the landmark issue. -
Page should contain a level-one heading: You have use a
h2
tag. The heading element should be in order of (h1-h6). To fix this issue simply replaceh2
withh1
and use font-size property to set the size of heading.
My suggeston
You have used each element to reset its margin and padding, insted doing this, i would like to suggest to use css universal selector
to reset. You can do this like
*{
margin: 0;
padding: 0;
}
Click Here for more information about css selector.
If you have any doubt or query, feel free to contact me.
Keep Coding!!!
Keep Learnign!!!
@anhhuynh1506
Posted
@mukeshmahato843 Thanks so much. It helps me a lots.