Qr code component

Solution retrospective
Feedback welcome
Please log in to post a comment
Log in with GitHubCommunity feedback
- @correlucas
👾 Hello Madhu, congratulations for your solution!
Your solution design seems fine, but isn't centered. My advice for your is that you use flexbox to manage the alignment and content of this component. You've add so many properties with the
position: relative;
that's get really complex to manage the component and keep it flexible.Consider refactor you code and do it with
display: flex;
and you'll see how much easy will be the next challenges you'll do. You'll save a LOTS of time learning Flex.See this 15min tutorial that explains how to build this challenge with flexbox: https://www.youtube.com/watch?v=JFyMWwOxHYM
If you try that you can say me if was useful or not.
But anyway your solution seems fine, all I've said was a best practice, but your challenge is done Madhu. Happy coding and keep it up
Marked as helpful
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