Design comparison
SolutionDesign
Community feedback
- @IzykGitPosted 3 months ago
Good work however make sure you image src is pointing to the correct directory for it to properly load.
Right now you have it pointing to "/qr-code-component-main/images/image-qr-code.png" when it should be "./images/image-qr-code.png"! For centering a div in the middle of the screen make sure the parent container has a minimum height of 100vh! This will make sure the height takes up the entire height of the screen.
Also remember to use correct semantics! Instead of wrapping everything in a div, have the main container be a <main> element.
Keep up the good work :)
0
Please log in to post a comment
Log in with GitHubJoin 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