QR Code component using HTML and CSS

Solution retrospective
I am proud of making it look as close to the design as possible.
I wanted to use DRY code as much as I could and tried implementing that. Also I tried using relative units like rem
for this challenge. Previously I only used px
.
It was not that much complex of a challenge since this is only HTML and CSS and a simple layout but I wanted to use the BEM methodology that is popular to make code readable and reusable which I tried using.
What specific areas of your project would you like help with?I know that the code is still not that optimized as it could be but I am open to see how else people have written code and what do you guys think about mine.
Just a small question about naming the variables in css. What is the standard way of naming them? Do we name them with component/function-wise or visual-wise. How do we name colors?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Adesh Katiya's solution.
Join 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