Testimonal grid section with Flexbox and Grid + middle screen version
Design comparison
Solution retrospective
I really enjoyed this one :)
I have a question, if a child's width is not 100% but less why I cannot center it horizontally within a grid element?
Community feedback
- @VCaramesPosted about 2 years ago
Hey there! 👋 Here are some suggestions to help improve your code:
-
Add a
max-width
to you component’s container to prevent it from warping in large screens. -
The only headings in this component are the names of each individual; “Daniel Clifford”, “Jonathan Walters”, “Jeanette Harmon”, “Patrick Abrams” and “Kira Whittle”. Everything else should be wrapped in a Paragraph Element.
-
To enhance the semantics of your component, you want to wrap each individual testimonial component in a Figure Element, the individuals information should be wrapped in a Figcaption Element and lastly, the testimonial itself should be wrapped in a Blockquote Element.
Code:
<figure> <figcaption></figcaption> <blockquote></blockquote> </figure>
More Info:
If you have any questions or need further clarification, let me know.
Happy Coding! 👻🎃
Marked as helpful0@K-MuzslayPosted about 2 years ago@vcarames Sorry I was away for a time. Thank you for your suggestions, I still have a lot to learn about semantic HTML. :)
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