@Islandstone89
Posted
Hello, here is my feedback, hope it helps.
HTML:
-
The image must have alt text. This is essential for screen readers to understand the image. The alt text should be descriptive, and in this example, it also needs to say where it leads (frontendmentor.io).
-
Headings should always be in order, so you never start with a
<h3>
. Change it into a<h1>
.
CSS:
-
Performance-wise, it's better to link fonts in the
<head>
of the HTML then using@import
. -
It's good practice to include a CSS Reset at the top.
-
Remove
width: 100%
onmain
- it is a block element, which means it is 100% wide by default. -
height
onmain
should bemin-height
. -
max-width
on the card should be in rem. Around20rem
will work fine. -
Remove
width: 100%
, the reason being mentioned above. -
Remove the fixed height on the card, you want the content to determine the height of a component.
-
Font-size must never be in px. Use rem , as you have done on the heading.
-
text-align: center
should be set on the body, as all of the text is centered. -
The image should not have a
width
butmax-width: 100%
, as well asdisplay: block
. This is included in the mentioned CSS Reset
Marked as helpful
@Renukta-21
Posted
@Islandstone89 Thanks bro, thank you, you almost corrected my entire life hahaa, I apreciatte it :) pd. I'll be looking forward for your designs
@Islandstone89
Posted
@Renukta-21 Happy to help :)