@Dany-GitHub
Posted
Its better to use classes instead of ID here is article for that may be useful DEV as for positioning you can center it with flex box too but you need to give the body
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
since there is no much content on it the height will be auto to cut down the repetition you should use classes for that
Marked as helpful
@Dany-GitHub Thank you! And thank you for the article on classes vs IDs, that was a nice insight. I had tried using flexbox for centering, but was missing the height attribute as you mention, so I will try that out. Thank you for the feedback
@Dany-GitHub
Posted
@cnjen You are welcome