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

P

@Dolpheus89

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


my biggest difficulty in this first challenge is learning Git ! and maybe there is a better way than cheating with margin and padding for center the Qr code !

Community feedback

Alex 1,310

@AlexKolykhalov

Posted

Hello! Look pretty good.

For centering element you can apply:

  1. flex and justify-content: center and align-items:center
  2. grid and place-content: center
  3. do this with position and translate

There are many ways.

Here are some videos about centering

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