@Hassiai
Posted
Every html must have <h1> to make it accessible. Always begin the heading of the html with <h1> tag wrap the sub-heading of <h1> in <h2> tag, wrap the sub-heading of <h2> in <h3> this continues until <h6>, never skip a level of a heading.
For a responsive image that will change the images at different screen sizes use the picture tag. For more click here
To center .container on the page using flexbox, replace the height in the body with min-height: 100vh
.
in the media query, give .container a fixed max-width value instead of a padding. max-width:400px which is 25em/rem
, give .panel1 and .panel2 a width of 100%.
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 and here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful
@wilbros
Posted
Thanks, @Hassiai ! I'll keep these in mind. I will try and revise my code for this challenge.