Design comparison
Solution retrospective
- Structural naming convention for CSS classes is hard.
- Creating custom CSS icons is a bit of a time consuming but fun, I know I should be just using the SVG assets, but for this very first challenge I'd like showcase what CSS can do.
Community feedback
- @mixchexPosted over 1 year ago
Hi Jech,
Nice work - this looks good!
One thing to look at is the reports to fix validation and accessibility errors. For class naming conventions, try looking into BEM (Block, Element, Modifier) naming conventions. It's really useful to help with this.
Also, that looks like painstaking work for the icons, but they've come out well.
I hope that helps. Mike
0@j3rech0Posted over 1 year agoHi @mixchex,
Thanks for the comments, I used BEM before and have an idea about the method, on this challenge I am just showcasing the CSS icons :P
I never intend to correct the accessibility, but I'm aware of that and in real project I do regularly check and use Lighthouse or GTMetrix.
PS: for structural naming convention I use rscss
Cheers!
0@mixchexPosted over 1 year ago@j3rech0 Nice, not heard of rscss, but I did notice the unique prefixed hyphens in your classnames which are clearly that now.
I like how you're creating another challenge with the addition of the CSS icons.
Keep it up :)
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