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

@abhay6786

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

Danilo Blas 6,300

@Sdann26

Posted

Congratulations on finishing your first project, Abhay!

If you want the card to be centered both vertically and horizontally I don't recommend using a margin, there are easier ways. In this case remove the margin from the card and add to the body the following:

body {

   display: flex;
   justify-content: center;
   align-items: center;
   min-height: 100vh;

}

This way it will be centered for all screen types.

By the way modify .<link rel='shortcut icon' sizes='32*32' href='images/favicon-32x32.png' type='image/x-icon'> to <link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png"> to remove the error from your report.

By the way the title is not black, it has the following color color: rgb(31, 50, 81) I would recommend you to change it.

Finally, I recommend you always look at the frontend mentor reports, they will help you not to make mistakes in the HTML and accessibility, you could change the <div class="wrapper"> to <main class="wrapper"> the main reason for this change is because you should always have a <main> inside the body that occupies the main content of the project.

After making these changes you should have 0 errors and the project should finish quite well.

Marked as helpful

0

@abhay6786

Posted

@Sdann26 thank you so much for your precious feedback and suggestions it will motivate me to do better every day.

1
Danilo Blas 6,300

@Sdann26

Posted

@abhay6786 you're welcome. Keep it up, success! :D

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