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

My responsive qr-code site

ildi0818 40

@ildi0818

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


What are you most proud of, and what would you do differently next time?

It took me a little longer to solve the task, but I'm glad I started again.

What challenges did you encounter, and how did you overcome them?

Maybe it's just that exact centering was difficult.

What specific areas of your project would you like help with?

I solved the project alone, but afterwards I received useful advice.

Community feedback

Daniel 🛸 44,230

@danielmrz-dev

Posted

Hello @ildi0818!

Your project looks great!

I noticed that you used margin and position to place the card in the middle of the page. Here's a very efficient way to center the card:

  • Apply this to the body (in order to work properly, you can't use position or margins):
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

I hope it helps!

Other than that, great job!

Marked as helpful

1

ildi0818 40

@ildi0818

Posted

Hello @danielmrz-dev!

Thank you very much for your help! I'm glad,because I learned something new and useful! :) Very super! Good evening!

1
Daniel 🛸 44,230

@danielmrz-dev

Posted

@ildi0818

I'm really glad I could help! 😊

1

@DR-KSP-VIRUS

Posted

Your solution looks great!

however, in the HTML, where you made <p class="bolder">...</p> You could have used <h1> or any to help you minimize your CSS code

2

ildi0818 40

@ildi0818

Posted

Hello @DR-KSP-VIRUS!

Ooops! I didn't pay attention to that. Thank you so much! :)

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