@lidiakrajewska
Posted
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 helpful
@yousra10
Posted
@lidiakrajewska Hi Lidia, thank you very much for your suggestions. It's very helpfull! Happy coding !!