imad• 1,550
@imadbg01
Posted
Greetings Yefry Sanchez, Congratulations on completing this challenge!, you did great,
however you can also use flex
or grid
to center main
on the middle of the page and remove margin
from main
, it's easy to control layout by flex
for example you can remove margin from main
and add this snippet the body
body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 100vh;
gap: 1rem;
}
Hope This help!!
Happy coding and keep up the good work 👍
0