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 Challenge Solution Using flex box

@ShashikantBharti

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 want to know about my approach how I have built this project And the best possible approach to create this project.

Community feedback

Isfaqul 330

@Isfaqul

Posted

Congratulations on completing this challenge. You have done a great job already.

A feedback from my end in regards to your question and overall is that, always try and use semantic HTML. I see you have used mostly used <DIV>. For the main container, you should use <main>

For the Attribute, you could put it inside <FOOTER>

And lastly, H1, H2, H3 should be used in order. We should prefer using H1 first and then H2, H3 and so forth.

Again, keep up the great work, keep consistent and you will see results. Cheeers!

Marked as helpful

0

@ShashikantBharti

Posted

@Isfaqul Thank You So much for your feedback.

0
Bader Idris 2,900

@Bader-Idris

Posted

You can set the container in the middle of the screen whatever user changes it when you add these properties to it in CSS:

.container {
  display: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

the new feature is transform, it has many lovely properties you can discover, I personally love it. Hope it's useful

0

@ShashikantBharti

Posted

@Bader-Idris Thank You SO much for this suggestion. I will definitely apply this in our next challenge.

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