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

QR Code Component with CSS

Hillary•70
@hlrydev
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?

This is my first completed challenge from this website, and I am overall proud of everything, even though it's simple.

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

Without a minimum width, the container will shrink when changing the window size. Plus, it is better to use pixels rather than percentages for margins and other values since they are a fixed value and therefore are better when trying to ensure a fixed position.

If the margin of a container inside another container is bigger, the content will overflow. Margins have to be equal, or the container inside the other must have a smaller margin.

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

I would like help with everything code-related (especially CSS) and formatting. Is there a way to optimize my code? Is there any common beginner mistake I am committing?

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 Hillary'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