Submitted almost 2 years ago
Frontend Mentor - Four card feature section
@Abdullahi-abdiaziz
Design comparison
SolutionDesign
Solution retrospective
Frontend Mentor - Four card feature section solution
Community feedback
- @VCaramesPosted almost 2 years ago
Hey there! 👋 Here are some suggestions to help improve your code:
- The
main
element should only be wrapping the card section since that is the main content of your page.
- The intro heading and paragraph should be wrapped inside a
header
element.
- The “Reliable, efficient delivery Powered by Technology” is one single heading so the entire thing should be wrapped in a single
h1
heading along with aspan
element. If you have any questions or need further clarification, feel free to reach out to me.
- The “icons” serve no other purpose than to be decorative; They add no value. Their
Alt Tag
should left blank and have anaria-hidden=“true”
to hide them from assistive technology.
More Info:📚
https://www.w3.org/WAI/tutorials/images/
- Never do this as it creates accessibility issues for users and it is outdated.
html { font-size: 15px; }
- For improved accessibility 📈 for your content, it is best practice to use
rem
for yourfont-size
and other property value. Whileem
is best formedia-queries
. Using these units gives users the ability to scale elements up and down, relative to a set value.
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🎄🎁
0 - The
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