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

efe aizesogieβ€’ 90

@efeaizesogie

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


this was quite an easy task and i would appreciate every feedback and corrections

Community feedback

@MelvinAguilar

Posted

Hi @efeaizesogie πŸ‘‹, good job on 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 class="section"> to wrap the whole content, use <main> tag.
  • Additionally, you can use the <article> tag instead of div to the container card: <div class="card">.
  • Use <footer> instead of <div class="attribution">. The <footer> element contains authorship information.
  • To make alternative texts more useful, add descriptive text to the alt attribute of the QR image to explain what the QR image does.
  • The alternative text must not contain hyphens, underscores, or the words "image" or "photo", it must be human readable.
  • Use min-height: 100vh to the "section" selector instead of height. This property lets you set a height and let the element grow even more if necessary.

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

Good job, and happy coding! 😁

Marked as helpful

1

efe aizesogieβ€’ 90

@efeaizesogie

Posted

@MelvinAguilar thanks a lot I have implemented all these and I will try to work with it henceforth. one question, for the alt text can I write a long description.

1

@MelvinAguilar

Posted

@efeaizesogie Hi, It is not necessary, it would be enough with "QR code to frontendmentor.io". You can read more about alternative text here.

Marked as helpful

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