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

Pedro Silvaā€¢ 140

@pmcsilva90

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 did it by myself.

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

Trying to center the card vertically. I thought I could use only "margin: auto auto;" but ended ut using flex with justify-content and align-items.

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

Possibly the text isn't aligned with the QR image as it shows on the design images.

Community feedback

Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

Hello there!

Congrats on completing the challenge! āœ…

Your solution looks great!

I have a suggestion for improvement:

šŸ“Œ Think about using <main> to wrap your main content instead of <div>.

Imagine <div> and <span> in HTML as basic containers. They're good for holding stuff, but they don't tell us much about what's inside or its purpose on the webpage.

This change might not have impact on how your page looks, but it'll make your HTML code clearer and help with SEO and accessibility.

Hope that's helpful!

Keep up the great work!

Marked as helpful

1
Divadovitchā€¢ 190

@Divadovitch

Posted

nice work. Indeed if the title in h1 was just a little bigger and there was less padding on the left and right of the texts the result would be identical. A small remark regarding the border-radius, as they are in "%" when the card becomes smaller the corners are deformed, it seems to me that using the "rem" allows you to avoid this deformation. congratulations for the work accomplished

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