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 desktop & mobile view using HTML & CSS.

@ajchinasa

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


It is a great start as a first project. Please let me know if there is a line of code you would have written differently.

Community feedback

@manishdevelops

Posted

hey @ajchinasa , nice work congrats... on completing this project I would like to suggest you something to improve your code

body { display: flex; justify-content: center; align-items: center; flex-direction: column; height: 100vh; }

.main { /* position: relative; / / top: 110px; / width: 220px; display: block; / margin: auto; */ text-align: center; background-color: hsl(0, 0%, 100%); padding-top: 10px; border-radius: 10px; }

footer { /* display: flex; / / align-items: center; / / justify-content: center; / / position: relative; / / top: 150px; */ font-size: .8rem; }

hope it adds up to your knowledge..

Marked as helpful

0
suhaib52 280

@suhaib52

Posted

It would be great to use semantic tags than the div, because semantic tags improve the accessiblity.

You can also try :root in the css to define the colors at the start of the file then you can use var() to call the color.

Marked as helpful

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