Submitted almost 2 years ago
Making testimonials card using grid system layout
@SemihRodoplu
Design comparison
SolutionDesign
Solution retrospective
I could not make as same size as example and I struggle to codding simpler way . Any suggestions are welcome.. Thanks...
Community feedback
- @VCaramesPosted almost 2 years ago
Hey there! 👋 Here are some suggestions to help improve your code:
- The profile images are not decorative. Their
alt tag
should not be blank. It should state the following; “Headshot of -person’s full name-“
More Info:📚
- 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 improve the semantics of your component, you will want to wrap each individual testimonial component in a
figure
element, the individuals information should be wrapped in afigcaption
element and lastly, the testimonial itself should be wrapped in ablockquote
element.
Code:
<figure> <figcaption></figcaption> <blockquote></blockquote> </figure>
More Info:📚
- Using CSS
grid
withgrid-template-areas
will make things way easier when building the layout and give you full control of it.
Here is how it looks like fully implemented: EXAMPLE
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding!🎄🎁
1 - The profile images are not decorative. Their
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