@Ahmer010Submitted about 2 years ago
I couldn't figure out, how to center it in the page?
I couldn't figure out, how to center it in the page?
** Hello!**
Little tip: never use uppercase when naming classes.
display: flex;
flex-direction: column; */ is needed to display content in columns and not rows /*
justify-content: center; */ it align everything on the main axis /*
align-items: center; */ it align everything on the cross axis /*
min-height: 100vh; //an height is needed to align vertically or align-items won't work.
Other than that I suggest:
Later on start adding the hover effect on the button and reading about indentation and how to properly format your HTML.
Good job! I hope I was of help! :)