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

QR Code Component

tailwind-css, next
Kit•60
@keithfrancisb
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 just starting to learn tailwindcss and this small project is definitely a good start to get my feet wet. I have been looking at the docs a lot which helped a lot. I need more practice.

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

I initially struggled with setting a fixed width for the overall card component containing the QR code and the two texts. I eventually came up with a solution (I'm not sure if it's the right one) by setting a maximum width for the card component. I have also been referring to the Figma design to help me identify the style, but I also had trouble figuring out the measurements needed for padding and the like. I ended up just guessing the measurements. Please let me know if there is a way to get the measurements from the provided figma files or if that is a paid feature.

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