Design comparison
SolutionDesign
Community feedback
- @anoshaahmedPosted almost 3 years ago
<section>
and<article>
usually need a heading; so if you don't need a heading in it, use some other element such as<div>
Good job! :)
Marked as helpful1@MarkWasfy00Posted almost 3 years ago@anoshaahmed iam using <main> as a heading or you mean like <h1> to <h6> , thanks for the feedback !
1@anoshaahmedPosted almost 3 years ago@Markizzo The first
<section>
in your <main> does not have a heading. It creates an HTML issue, as you can see in your report. Just to avoid that issue in the future, use a div instead if you're not going to put a heading in it :))Marked as helpful1
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