@geomydas
Posted
Might be more of a personal preference but your <img> tag in the code should need an "alt" attribute.
For the CSS, this challenges includes a .fig file which you can open in Figma to see the borders, paddings and margins to be more accurate. It's really easy to use figma for devs, I'd reccomend one of the articles on this site. https://www.frontendmentor.io/articles/figma-for-developers-how-to-work-with-a-design-file-m6CZKZ1rC1.
Also for the CSS code, I don't see why you would need {margin: 0 auto; padding, and align-items on the body selector just to center the card. It's pretty inaccurate and inefficient and what I would reccomend is to use align-items:center and justify-content: center and add a width and height of 100vw and 100vh.
This only works on small projects which have a only one row or column. It wouldn't work on larger scale projects such as a landing page or etc.