Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Responsive QR Code card using Flexbox

py-code314•430
@py-code314
A solution to the QR code component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I was able to make good use of Flexbox to center the card and make it responsive

What specific areas of your project would you like help with?
  1. I wrapped card image, title and text in individual divs. Is it advisable to do it this way or is there a better way to do it?
  2. Tried to use BEM nomenclature for class names. Please let me know if I made any mistakes!
  3. Little confused about the use cases of margins and padding. Is there any good resource out there which explains their proper use?
  4. Any alternatives to media queries so that I don't have to write them for every screen size?
Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on py-code314'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License