Design comparison
Solution retrospective
Hi everyone!!!
I just completed that challenge, I find it easier than the others. Please, if there is a point that I have to change, tell me. Thank you in advance.
Happy coding!!
Community feedback
- @lidiakrajewskaPosted over 2 years ago
Hi! The image doesn't show up, you need to change the file path to ./image-qr-code.png :) If you'd like to center the component both vertically and horizontally the easiest way is to use flexbox. You could wrap container div in another div or just add this code to main:
display: flex; align-items: center; justify-content: center; min-height: 100vh;
And then you need to remove margins from container. Happy coding! :)
Marked as helpful0@yousra10Posted over 2 years ago@lidiakrajewska Hi Lidia, thank you very much for your suggestions. It's very helpfull! Happy coding !!
1
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