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

QR code component

Elizaveta N.•60
@kotangenss
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?

Using CSS Flexbox to center and align elements on a page. This helps ensure that content looks good on a variety of devices and screens.

Connect and use the "Outfit" web font from Google Fonts to improve the appearance of text.

Would change next time: Use more semantic HTML5 elements to improve structure and accessibility. Using some kind of preprocessor

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

Centering Content on the Page:

Challenge: Ensuring perfect centering of content both horizontally and vertically was crucial for responsive design, so elements remain centered across different devices and screen sizes. Solution: This challenge was overcome by using CSS Flexbox. Defining styles for the .wrapper and .container with properties like display: flex, align-items: center, and justify-content: center provided the necessary alignment. Integrating Web Fonts:

Challenge: Properly integrating and utilizing web fonts to enhance the visual appeal of the text was a key task. Solution: Google Fonts was utilized for this purpose. Integrating the "Outfit" font with various weights and using it in the CSS styles achieved the desired look.

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

Looking for a thorough code review to identify potential issues and areas for improvement.

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 Elizaveta N.'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