Design comparison
Community feedback
- @HassiaiPosted over 1 year ago
Replace <div class="testimonial-grid"> with the main tag, the html must have <h1> and replace <div class="attribution"> with the footer tag to fix the accessibility issues. click here for more on web-accessibility and semantic html
For the left and right sides space of the page, give . testimonial grid a width of 80vw or a max-width of 1440px and a width of 80%.
To center .testimonial-grid on the page using flexbox or grid instead,
- 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; }
- USING GRID: Add min-height:100vh; display: grid place-items: center to the body
body{ min-height: 100vh; display: grid; place-items: center; }
Use the colors that were given in the styleguide.md found in the zip folder you downloaded.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord