Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 9 months ago

As close as possible to photo

BishoDev•50
@bishoDev123
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?

First off, I broke everything down from top to bottom and left to right. I came up with the best solution of using a flexbox and setting the flex-direction attribute to column. I used microsoft powertoys (since I'm on windows) to pick the colors of the image. I set the text to header 2 and paragraph for easy debugging.

I planned to do this using tailwind since I'm first and foremost a backend developer, but you can't just skip css so I went down to the basics!

What challenges did you encounter, and how did you overcome them?

My biggest issue was having wide sides in the container that were on the sides of the qr code image, after doing some research, I found out that this issue could be solved by setting a max-width attribute.

What specific areas of your project would you like help with?

How do I integrate things like @media modifiers to make this a little more responsive?

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 BishoDev'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
  • Use cases

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