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 clean HTML&CSS

P
Serhii Orlenkoβ€’ 275

@grifano

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


What are you most proud of, and what would you do differently next time?

I complete this challenge much quicker. For next time I will be more careful with line-height, and do not forget to add this property.

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

The screenshot generated by Challenge Hub doesn't look the same, so I spent a lot of time adjusting line-height property.

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

For this time I do not need help, as I'm familiar with HTML&CSS

Community feedback

@alberto-rj

Posted

Hi, @grifano! Congratulations on investing your time and leveling up with the challenge, QR code component.

I have some code suggestions about Accessibility that can help you improve your solution to this challenge.

You have Low-contrast text on the footer and card

Low-contrast text is difficult or impossible for many users to read. This tool can help you solve this problem.

Do not use the aria-label attribute for non-interactive elements

The aria-label attribute defines a string value that labels an interactive element. Learn more here

For the footer of the page, you could use the footer tag because it express this semantic meaning. Learn more here

πŸ‘Ž Don't

<div aria-label="attribution" class="attribution"> 
  Challenge by
  <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">
  Frontend Mentor </a>.
  Coded by <a href="https://www.grifano.com">Serhii Orlenko</a>.
</div>

πŸ‘ Do

<footer class="attribution">
  <p>
    Challenge by
    <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">
    Frontend Mentor </a>.
    Coded by <a href="https://www.grifano.com">Serhii Orlenko</a>.
  </p>
</footer>

So, @grifano, these are my code suggestions about Accessibility for your solution. I sincerely hope they can help you in some way.

Keep learning, coding and sharing! 🌟

Happy coding! πŸš€

Marked as helpful

1

P
Serhii Orlenkoβ€’ 275

@grifano

Posted

@alberto-rj Hi Alberto, this is wonderful feedback! I've adjusted my code, and it looks great now. Thank you 😊

0
virajdomadiaβ€’ 40

@virajdomadia

Posted

great work

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