@salemsaadaSubmitted over 1 year ago
Mati
@sdmatiasAll comments
- @sdmatiasPosted over 1 year ago
@salemsaada Hi! To achieve vertical and horizontal centering try the following CSS code. body { display: flex; min-height: 100vh; align-items: center; justify-content: center; }
I also advise you to write your CSS in an external style sheet and link it in the head of your HTML. There are several errors in your HTML. Try to investigate more about semantics and good practices. I recommend the W3schools website.
Mati
1