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 Page Using HTML and CSS

Kofi Akyeaβ€’ 150

@Takeda-harsh

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

@MelvinAguilar

Posted

Hi @Takeda-harsh πŸ‘‹, good job completing this challenge, and welcome to the Frontend Mentor Community! πŸŽ‰

I have some suggestions you might consider to improve your code:

  • Instead of using <section> to wrap all the main content, use <main> tag .
  • Instead of using pixels in font size, use relative units of measure like rem or em. The font size in absolute length units (px) does not allow users with limited vision to change the text size in some browsers. Reference.
  • To make alternative texts more worthwhile, add descriptive text to the alt attribute of the QR image to explain what the QR image does. Upon scanning the QR code, you will be redirected to the frontendmentor.io website, so an example of alternative text would be "QR code to frontendmentor.io". You can read more about alternative text here.
  • The space between the component and the content (text, image) is large, try to reduce it

. I hope those tips will help you! πŸ‘

Good job, and happy coding! 😁

Marked as helpful

1

Kofi Akyeaβ€’ 150

@Takeda-harsh

Posted

@MelvinAguilar Thanks for the feedback. I have a lot to learn. These tips are definitely helpful and I did leave out the accessibility options like the alt text for the QR code. I'll improve my codes in the new challenges I take.

0
Kofi Akyeaβ€’ 150

@Takeda-harsh

Posted

@MelvinAguilar Thanks for the feedback. I have a lot to learn. These tips are definitely helpful and I did leave out the accessibility options like the alt text for the QR code. I'll improve my codes in the new challenges I take.

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