Design comparison
Solution retrospective
can someone tell me plz why i keep getting these warnings in my html code from frontendmentor ? i am not sure what i am doing wrong
Community feedback
- @Priya366Posted over 2 years ago
Hi Mahmoud Nasar, You did an amazing work.
As per your question, I also faced the same html and accessibility issues.
You can settle your code by using <main> tag just below the <body>tag. These are landmarks which must be present in our html as it makes our website more accessible . The landmarks are as: <header>,<nav>,<main>,<footer>.
and one <h1>tag inside of the main context of html.
I hope this will be helpful for you.
Marked as helpful1@mahmoudnasr71Posted over 2 years ago@Priya366 thank you will try that in the next challange
0
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