@Hassiai
Posted
Replace <div class="main"> with the main tag and <h4> with <h1> to fix the accessibility issues. click here for more on web-accessibility and semantic html
Add the language attribute to the html tag <html lang="en">
and add the alt attribute alt=" "
to the img tag containing the avatar.
For a responsive content which wont require a media query for this challenge. replace the width in .main with max-width and increase it value. max-width:400px
.
Replace the height in .card with a padding value fo r all the sides, this will prevent the content from overflowing on smaller screens and its a responsive replacement. padding: 20px
. There is no need to give .main position: absolute and its properties.
Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING