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

Scan QR Code

@priyankavasam7

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


Hello! This is really very basic challenge anyone with basic HTML and CSS knowledge can do. Very simple and easy I really enjoyed doing this challenge This is recommended challenge for absolute beginners/newbies.

Community feedback

@besttlookk

Posted

Hi, Tho its simple still people stuggle to do it. If you look the solution of others they look different that what was in the design. Yours look nice . My only suggestion would be to get rid of srcolling and to center the box w.r.t screen.

Good Luck #happyCoding

0

@priyankavasam7

Posted

@besttlookk Hello, Thanks! Yea I observed that scrolling thing. I have tired to get rid of it but I'm just unable to do it I have tried setting viewport also I don't really understand what's wrong with it. I could also see some accessibility issues with my code about landmark, even when everything is right. These two things are really bothering me a lot. It would be really very helpful if you could help me in figuring this issue out 😊

0

@besttlookk

Posted

@priyankavasam7 Have you tried overflow:hidden ?

body{
  min-height:100vh;
  overflow:hidden;
}

I usually do "overflow-x:hidden" . But here we even dont want scrolling in y-direction. so "overflow:hidden"

Do let me know if it worked(it should) or not.

Tho i am not an expert but I will look into your accessibility issue.

;)

Marked as helpful

0

@besttlookk

Posted

@priyankavasam7 About accessibility issue: Try using semantic HTML element . Like you are making a header. Rather than using a <div> to wrap the content use <header> tag. same goes for <footer>.

If there are nav links. Wrap them in <nav>

Most importantly(and i think it applies to your solution) wrap the main content inside <main></main>

If there are different sections in your page. divide them in <section> tag.

here is the link if you wanna know more: https://www.w3schools.com/html/html5_semantic_elements.asp

Good luck, #happyCoding

Marked as helpful

0

@priyankavasam7

Posted

@besttlookk Thankyou! It is working, I will implement this from now on :))

0

@besttlookk

Posted

@priyankavasam7 Keep coding and keep learning. Happy to help. :)

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