Submitted over 2 years ago
3 column preview card with Pure HTML & CSS
@Blue-Cheesecake
Design comparison
SolutionDesign
Solution retrospective
Is there anything needed to improve? Is my css skill good enough to move on to learn Tailwind?
Community feedback
- @vanzasetiaPosted over 2 years ago
Hello there! 👋
Congratulations on completing this challenge! 🎉
I have some feedback on this solution:
- Accessibility
- Good job on using landmarks correctly! 👍
- There's no need to have
role
attribute for the link element. If you think that it is abutton
element then usebutton
element instead. But if it is a button instead of a link, what is going to happen if the user clicks the button? - Use CSS to uppercase the text. The uppercased word in the HTML will be spelled by the screen reader (spelled letter by letter).
- Swap all the
h1
withh2
. Every page should only contain oneh1
as an identifier. In this case, it's not necessary to haveh1
but, if you want to remove the issue that gets generated, you can have visually hiddenh1
withsr-only
styling. - There's an awesome article by A11y about heading, I would recommend reading it to understand how to use headings correctly.
- Create a custom
:focus-visible
styling to any interactive elements (button
, links,input
,textarea
). This will make the users can navigate this website using keyboard (by usingTab
key) easily.
- Styling
- You have used
rem
andem
units instead ofpx
except for theborder-radius
. I would recommend usingem
unit for it. That way, when thefont-size
of it gets increased, theborder-radius
can adjust automatically. - Import the font families at once. It will boost the loading speed of your site.
- You have used
I hope this helps! Happy coding! 😁
Marked as helpful1 - Accessibility
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