Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

flex

@SpartanFranco

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

P

@developer-ruben

Posted

Hi there!

Here are my tips and tops for this project:

  • Try making a habit of using custom properties, even though the project is quite small
  • Avoid px for font-sizes, this will overwrite the preferred setting of the user in the browser
  • Use BEM to better organize your classes and naming conventions, this avoids using general classes like .title for specific components
  • Add width and height attributes to the image to avoid weird scaling while loading the page
  • Maybe use the section element instead of div to mark the base of your component

Hope it helps! Best, Ruben

Marked as helpful

0

Please log in to post a comment

Log in with GitHub
Discord logo

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