Design comparison
SolutionDesign
Community feedback
- @ledoux25Posted about 1 year ago
Hey buddy Do not use pixels while defining a container like the body instead of putting those px should do this
body{ height : 100vh; width: 100% }
instead of creation a `<div class = "center">' you should use the element <main></main> as a container
apart from that you did great
Goodluck on your coding journnee
Marked as helpful0 - @eniskrtPosted about 1 year ago
Well done!
If you want to get the card in the middle of the screen, youcan use flex structures in the body tag. So:
body{ display:flex; justify-content:center; align-items:center;
Good code.
Enis...
Marked as helpful0
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