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

Flex box

KED 30

@FranklinKED

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


I was able to use media query on both desktop and mobile screens but on checking my phone, it didn't fit well enough as I would have expected, please Answers will be well appreciated Thank you, Frontend Mentor and the Team.

Community feedback

@Kamlesh0007

Posted

Congratulations on completing the challenge! That's a great achievement, and I'm sure you put a lot of effort into it. I really liked the way you approached the challenge and the code you wrote. You demonstrated a good understanding of the concepts and applied them effectively to solve the problem.I have a few suggestions to improve your code further. When it comes to centering a div or any element on a webpage, using margins may not always be the best approach. so use flexbox or grid layout for centering the div.

Here's an example code snippet:

body {
min-height: 100vh;
display: grid;
place-items: center;
}
Now remove below lines of code
.container{
margin: 0 auto;
}

Marked as helpful

0

KED 30

@FranklinKED

Posted

@Kamlesh0007 Wow! I'm really grateful for your constructive comment, It means a lot to me. I hope we can connect so you can guide me through this journey of mine, @official_KED on X(formally Twitter)

0

@Kamlesh0007

Posted

@FranklinKED actually we can connect on LinkedIn I don't have twitter

0
KED 30

@FranklinKED

Posted

@Kamlesh0007 Okay thank you, I'm grateful. Connected with you already. @Franklin Ezemmouka (KED), my username.

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