Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Testimonials Grid Section using HTML, CSS, Grid, Flexbox, Media Query

@GenesisGran

Desktop design screenshot for the Testimonials grid section coding challenge

This is a solution for...

  • HTML
  • CSS
2junior
View challenge

Design comparison


SolutionDesign

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

darryncodes 6,430

@darryncodes

Posted

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 structure

You 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 helpful

1

@GenesisGran

Posted

@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
darryncodes 6,430

@darryncodes

Posted

You're welcome @GenesisGran, don't forget to refresh the report after too!

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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