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

QR code component using React, Tailwind and CSS BEM

bem, react, tailwind-css
Florian Frosch•210
@ffrosch
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 like the lightweight setup with React and Tailwind.

For the next time I would again try to find a solution which also lets me use CSS-in-JS or CSS Modules.

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

I wanted to establish using React, Tailwind and Emotion CSS for Frontend Mentor projects without the overhead of creating a new project with several hundred megabytes of packages everytime.

I quickly found a solution to use React and Tailwind with through CDN-delivered packages. But I did not find a way to make the same procedure work for Emotion CSS. In the end I mainly used vanilla CSS with BEM methodology.

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

I could use some hints on how to make a CSS-in-JS library or CSS Modules work with my lightweight CDN approach.

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 Florian Frosch'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