QR card component using flexbox

Solution retrospective
Centering the card component in the middle would be something that took some googling around but eventually got around to it, so that's probably something I am most proud of this project. Something differently - add the style.md file to gitignore from the start. Also, there might be a better organisation pattern for the divs inside the card.
What challenges did you encounter, and how did you overcome them?There were some challenges with the centering part since the flexbox did not take the entire page height into account so just set the body to 100vh after googling it, which solved the issue.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Karimatwahab
- yes, it does.
- yes, the code is accessible
- it looked perfectly good, i did well with it.
- yes, it is readable and reusable.
- Nah, it looks exactly the same
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