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

Simple Static QR Code Component

Enrico Antonio Phie•50
@ricophie03
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?
  1. I'm just learned on how to use :root in css and what it is do. so we can spesify some global variables that we can reuse in other css styling to make some cleaner code and easier style to maintain.

  2. I'm using flexbox to adjust the component's position. It will also make the component responsive too.

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

nothing so far.

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

Since I haven't touch html in a while, I'm confused why the qr code container is not fully centered even when i already used a flex display to control the positioning. When I inspect the html, the container height didn't cover the rest of html area. any idea why?

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 Enrico Antonio Phie'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