Design comparison
Solution retrospective
Hello bosses. I just finished the "Four card feature section" challenge. Any feedback, suggestion or correction will be greatly appreciated. Thank you!
Community feedback
- @0xabdulkhaliqPosted over 1 year ago
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have other recommendations regarding your code that I believe will be of great interest to you.
HTML 🏷️:
- This solution generates accessibility error reports, "All page content should be contained by landmarks" is due to
non-semantic
markup, which lack landmark for a webpage
- So fix it by replacing the
<div class="main">
element with the semantic element<main>
along with<div class="header">
into a<header>
element in yourindex.html
file to improve accessibility and organization of your page.
- What is meant by landmark ?, They used to define major sections of your page instead of relying on generic elements like
<div>
or<span>
- They convey the structure of your page. For example, the
<main>
element should include all content directly related to the page's main idea, so there should only be one per page
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful0@iamlearner0Posted over 1 year ago@0xAbdulKhalid Thank you for the comment. It's a motivation that I can do better and I will surely work on your observations.
0 - @vanzasetiaPosted over 1 year ago
Hi there!
I recommend only wrapping "Reliable, efficient delivery Powered by Technology" with one
<h1>
. It should be read as one sentence instead of two sentences.All the icons are decorative images. So, you should leave the alternative text empty.
You should set the
<body>
's font size withrem
unit instead ofpx
.Never use
px
unit for font sizes. Learn more — Why you should never use px to set font-size in CSSI hope this helps.
Marked as helpful0@iamlearner0Posted over 1 year ago@vanzasetia Thank you for your observation. I will surely take note and make corrections
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