@Hassiai
Posted
Replace <article class="product-card"> with the main tag to fix the accessibility issues. click here for more on web-accessibility and semantic html
Use the picture tag <picture> to display both images responsively on different screen sizes.
To center .product-card on the page using flexbox, add min-height:100vh; display: flex; align-items: center: justify-content: center; to the body
body{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
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
Marked as helpful