@LoaiEsam37
Posted
to center your card in the middle of the screen you can add these porperties to your <body>
body {
display: flex;
justify-content: center;
align-items: center
}
put your section tag inside a main tag so that it becomes easier for screen readers to know where is the main content and you can also use something like <nav> , <footer> and <sidebar> tags for the same reason
@ndickers
Posted
@LoaiEsam37 Thank you for the code review. I'll update. Though it was a design for a preview card, which is a section of a website and i see no need to include nav, footers and headers.