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

Responsive testimonial page using CSS grid

Folalu!β€’ 60

@OluwatobiFolalu

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


I couldn't get the 'z-index' to work to put the quotation marks image behind the text.

Community feedback

P
Dave Quahβ€’ 670

@Milleus

Posted

Hi there o/,

To get the z-index to work where the text is in front of the quotation marks image, you'll need to set a z-index on the text (in this case the <h4> element) and also set the position property to anything other than static which is the default value. For example,

.cards.Daniel h4 {
  position: relative;
  z-index: 1;
}

An alternative solution to this which might be cleaner is to add the quotation marks through the background-image property instead of using an <img> element. It will naturally be behind the text, and you can adjust the position with the background-position property. For example,

.cards.Daniel {
  background-image: url(/images/bg-pattern-quotation.svg);
  background-repeat: no-repeat;
  background-position: top right 15%;
}

Here are the MDN links to find out more:

Hope this helps

Marked as helpful

0

Folalu!β€’ 60

@OluwatobiFolalu

Posted

@Milleus Thank you very much, the first suggestion works just fine. I really appreciate the help. Have a great one

0
Shashree Samuelβ€’ 9,260

@shashreesamuel

Posted

Hey good job completing this challenge

Keep up the good work

Your solution looks great however I think that the box-shadow on the cards are supposed to be subtle.

In terns of accessibility issues simply wrap all your content between main tags

I hope this helps

Cheers Happy coding πŸ‘

Marked as helpful

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