QR component using flexbox

Solution retrospective
I struggle with keeping my CSS concise, which becomes a huge problem when working on more complex projects, so I thought it was a good idea to try to build this QR code and intentionally try to be as dry as possible. Any feedback on how I did or suggestions on how to not have a bloated css file would be appreciated :)
Please log in to post a comment
Log in with GitHubCommunity feedback
- @pRicard0
- The
alt
attribute should not contain the words "image", "photo", or "picture", because the image tag already conveys that information.
I didn't find any other errors, congratulations
I think CSS gets better when you start using libraries or frameworks, like React and TailwindCSS because you can reuse a lot of things
Marked as helpful - The
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