Testimonials Grid Section using HTML, CSS, Grid, Flexbox, Media Query
Design comparison
Solution retrospective
This is my solution to the Testimonials Grid Section. Feel free to give any suggestion or pointing out any mistakes I made.
Community feedback
- @darryncodesPosted almost 3 years ago
Hi Genesis,
Great work with grid here, well done!
I'd encourage you to clear down your accessibility report. Swap
<div class="container">
with<main class="container">
and<div class="attribution">
with<footer class="attribution">
. You could consider using<section>
and headings in this challenge. Using the most descriptive html for the job is really important and the correct heading structureYou could consider including a screen reader only
<h1>
, this snippet will help you do it:.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
Marked as helpful1@GenesisGranPosted almost 3 years ago@darryncodes Thanks for the feedback. I always wonder how I can remove those accessibility issues and now I know. Thanks for the snippet too, I will use that for my next project.
0@darryncodesPosted almost 3 years agoYou're welcome @GenesisGran, don't forget to refresh the report after too!
0
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