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

Qr code component | Using Html , css

steevencodeβ€’ 120

@steeven509

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello everyone, It's been long time that i don't code I forget a lot of time now i need to pratice everyday for remenber a lot things any help would be helpful don't insist on correcting me Thank you !!!!!

Community feedback

Vanza Setiaβ€’ 27,795

@vanzasetia

Posted

Hi, @steeven509! πŸ‘‹ Welcome back to coding! πŸ˜„

I have some suggestions to improve this solution.

  • Remove <div class="qr-block-img">. Make the <img> as a block element and set the styling to the image directly instead of using <div>.
  • Improve the alternative text of the QR code by describing the purpose of the QR code. "QR code to frontendmentor.io" can be a good alternative text for it.
  • Use a CSS reset whenever you start a new project. This can help you set the styling foundation easily. My recommendation β€” A Modern CSS Reset
  • Remove height: auto; and overflow: hidden; from the .qr-container styling. It is because:
    • For the height, by default, the height of the element is set to auto and
    • For the overflow, there is no issue whether the property is there or not.
  • Never limit the height of the <body>. It will not allow the users to scroll the page when the page content needs more height. Try to look at the site on a mobile landscape view to see the issue. So, use min-height instead.
  • Never use px unit for font sizes. Use rem or em instead. Relative units such as rem and em can adapt when the users change the browser's font size setting.

I hope you find this useful. πŸ™‚

Marked as helpful

1

steevencodeβ€’ 120

@steeven509

Posted

@vanzasetia it’s very helpful my friend how can i keep in touch with you on other social networks

0
Vanza Setiaβ€’ 27,795

@vanzasetia

Posted

@steeven509

I am available on the following social media platforms:

P.S. I notice that we have connected on LinkedIn. πŸ™Œ

Marked as helpful

1
steevencodeβ€’ 120

@steeven509

Posted

@vanzasetia thank you

1

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