QR Code static card using responsiveness and flexbox

Solution retrospective
I found the part of centering all the items difficult, I'm not sure if my HTML and CSS are clean enough, but the way I did it was based on my initial knowledge. Unfortunately I couldn't put the Favicon, I don't know why.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @danthvp
Hello Lucas! Your code is well indented and is super readable. Don't worry about how to center a div, there's no specific way to do it. As you did it, I usually use flexbox to center the boxes. A little piece of advice that I can give you is to use box-sizing: border-box. Also, it's no necessary to set the margin and padding to 0 when you're using media queries. Media queries only change the rules you give. And try to use the HTML5 tags instead of using div, that is going to help with the SEO.
Keep coding!!! You have a great potential.
Greetings from CR
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