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

QR code component using Flexbox

P
Omoaruna Emasealu•10
@omoaruna
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'm proud of how quickly I did this, in comparison to the other practice projects I've done. The page is also somewhat responsive, and unfortunately I'm not entirely sure why but I think its a step forward and in the right direction. Next time I do want to do less "hard-coding". It shows some gaps in knowledge.

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

Aligning the QR code's content was definitely not so easy for me, I got a little frustrated as I had already mapped out how I would go about the solution. I started over with just my base styles and decided to take things slow, I realized my mistake was adding a div container to cover the body of the page.

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

I find manipulating widths of a bunch of texts difficult; I want to learn how to override the default <p> behaviour from filling it's container width to having a width based in the content in it. Simply I want my text to be able to wrap down instead of spreading out as far as possible.

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 Omoaruna Emasealu'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