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

Roxanne 260

@rox-stahl

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


Although there isn't much to this component, I checked for ARIA labels and I hope that I didn't miss anything.

Community feedback

@MaxiTRR

Posted

Hi! It look very good! Checking your code i recommend you to use:

body {
  display:flex;
  justify-content:center;
  align-items:center
}

This will center the container to the center, without using any margin to place them, so yo can not worry if you modify or added more divs or containers in the future. However, i think it is not a good practice apply a display propertie in the body, but for this challenges of one component only it makes the trick!

Marked as helpful

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