Design comparison
SolutionDesign
Solution retrospective
Is there any other way for me to center my div? Do you have a better way of solving this problem/challenge? what is wrong with my codes?
Community feedback
- Account deleted
<link rel="stylesheet" href="styles.css">
href doesn't matchstyle.css
and your image file is missing.0 - @danielmrz-devPosted 8 months ago
Hello @homearvin
- Here's how you place the card in the middle of the page:
š Apply this to the body (in order to work properly, don't use position or margins):
body { min-height: 100vh; display: flex; justify-content: center; align-items: center; }
I hope it helps!
Other than that, great job!
0 - @578shivamPosted 8 months ago
bro what is wrong look link href style flies rename edit 's ' or code remove 's'
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