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

I used flex to center card horizontally and vertically.

Ghazal Mahmoodi•170
@ryichi0
A solution to the QR code component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

my biggest challenge was to add font-family to my project. first i tried @font-face in css file, but it wasn't working so i google the stuff and ran into another solution. it was link tag which i used in my html page. but something was not working properly so i checked if this font is still on web or not, i was and i used the link which google font presented. eventually i solved my problem. but i am pretty sure i could've done it in fewer lines of code.

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 Ghazal Mahmoodi'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