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

@b1tj

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


All feedback is welcome !

Community feedback

@Namonaki0

Posted

Nice job! Just a little trick for when you need to center the main component in the middle of the page.

Since it's being rendered in the root you can style it like this:

display: grid;

height: 100vh;

place-content: center;

Hope it helps.

Marked as helpful

3

@b1tj

Posted

@Namonaki0 you just give me new way to center a item, thanks a lot <3

1

@JordanMartinWebDev

Posted

I think you got the card down pretty well, but you could move the attribution information at the bottom outside of the card since it wasn't a part of the challenge itself. Just take it out of your card div and put it right above your </body> tag. The original html doc included some CSS in it for the attribution section, so you should just have to move the html, assuming you didn't delete it.

Marked as helpful

0

@AkinGabs

Posted

Very nice work. But you could have centered your card.

2

@b1tj

Posted

@AkinGabs fixed! thank you <3

0
Boots 😺 1,590

@adityaphasu

Posted

@b1tj omg hu tao spotted! fellow genshin player?

0

@b1tj

Posted

@adityaphasu yea :)

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