@DavidMorgade
Posted
Hello Satyam congrats on finishing the challenge!, good job!
I would like to give you a little advice with your permission.
For centering your card in the page, instead of using margin
in the container, try it using flex-box directly on the body!, with just a few lines of code your card will be completely center, you will need to set up the height to 100vh and center it with flex like this:
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
With this your card will be completely center without the needs of margins!
Hope my feedback helps you for future challenges!
Marked as helpful
@satyammjha
Posted
@DavidMorgade Thanks for the feedback. I will apply your suggestions to my upcoming challenges.