Design comparison
Community feedback
- @tobezhanabiPosted over 1 year ago
Hi Alex, wonderful job you did here congrats I would suggest you learn to use landmark
You should replace the <div class="content"> with the landmark <main> this way your site gets accessibility. It is not important for this fragment of a site, but by making it in a habit, you can easily build crawl-able site. Landmarks in HTML are structural elements that define the major sections of a webpage. They include semantic elements such as <header>, <nav>, <main>, <article>, <aside>, and <footer> A site is excepted to have at less one landmark
Marked as helpful0@AlexMagargiuPosted over 1 year ago@tobezhanabi I've replaced the <div> with the <main> as you've suggested. Thank you very much!
1
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