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 html and css

@Ariyoola45

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


am just learning thank u

Community feedback

Reuben👾 560

@Rubylenshy

Posted

Hi, @Ariyoola45 👋. Congratulations on completing this challenge, here are some suggestions to improve your code:

  • The stylesheet and img references should be this:
<link rel="stylesheet" href="css/styles.css">
<img src="img/image-qr-code.png" alt="qr code">

respectively.

  • Your <section class="step1"></section> should be a <main></main> tag according to markup rules, hence it shows that its child elements are the main contents of the page.
  • And you can center that same card by adding this to your code:
.step1{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

I hope this helps

Happy Coding @Ariyoola45

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