Design comparison
Solution retrospective
Any suggestions please thanks guys!
Community feedback
- @PhoenixDev22Posted about 2 years ago
Hello
Congratulation on completing this challenge. Excellent work! I have few suggestions regarding your solution, if you don't mind:
HTML
- About
<h1>
it is recommended not to have more than one h1 on the page . Multiple<h1>
tags make using screen readers more difficult, decreasing your site’s accessibility.
- You can add a
<h1>
withclass="sr-only"
(Hidden visually, but present for assistive tech).
- In this challenge , the images are much likely to be decorative. For any decorative images, each img tag should have empty
alt=""
as you did andaria-hidden="true"
attributes to make all web assistive technologies such as screen reader ignore those images .
- What would happen when the user click those learn more? In my opinion, clicking those "learn more" would likely trigger navigation not do an action so button elements would not be right. So you should use the
<a>
only. For future use , it's a good habit of specifying the type of the button to avoid any unpredictable bugs.
- Links are not crawlable.You can read more here to solve this for the moment add the href with the #:
<a href=”#”> ..</a>
Overall, Your solution is good. Hopefully this feedback helps.
Marked as helpful0@meme-devPosted about 2 years ago@PhoenixDev22 noted thank you <3. I will do this in the next challenges.
1 - About
- @correlucasPosted about 2 years ago
👾Hello Christian, congratulations for your new solution!
Your solution is just great, the cards are beautiful and fully responsive, the media query are fine. The only thing you really need to fix here is the semantics replacing the card
div
with something more semantical as<article>
orsection
. Maybe replace the relative unitpx
withrem
for a better performance between different screen sizes.The rest is just perfect bro!
👋 I hope this helps you and happy coding!
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