This solution generates accessibility error reports, " All page content should be contained by landmarks" is due to non-semantic markup, which lack landmark for a webpage.I have other recommendations regarding your code that I believe will be of great interest to you.Congratulations on successfully completing the challenge! □ 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. The same margin-left, margin-right and margin-top values. Give h1 and p the same font-size of 15px which is 0.9375rem, text-align: center, max-width:320px padding:16px Give the img a max-width of 100% for a responsive image and a border-radius value, the rest are not needed. USING FLEXBOX:įor a responsive content, #container a fixed max-width value and a padding value for all the sides. container on the page using flexbox or grid instead of margin, add min-height:100vh display: flex align-items: center: justify-content: center or min-height:100vh display: grid place-items: center to the body. Use the colors that were given in the styleguide.md found in the zip folder you downloaded. The body has a wrong background-color, give it a background color of light-gray. should be within the head tag not in the body. ![]() ![]() ![]() Replace with the main tag and with to fix the accessibility issue.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |