Testimonial-grid-section using CSS Grid, Sematic HTML5 & Custom CSS
Design comparison
Solution retrospective
This was a relatively great challenge once you get the grips of CSS grid area which made it so easy.
but I couldn't align the exact same heights for text even if the box size matches plus if their is any simple alternative for background positioning by not using position: absolute;
And anymore feedback to take it to the next level is highly encouraged! 👍
Thanks for making a great community.😊
Community feedback
- @tedikoPosted over 3 years ago
Hello, Sky! 👋
Good job on this one! 🎉 Your solution responds well and overall looks good. Here's my suggestions:
- I think in this case
position: absolute
is a best way to align this quote marks image but you shouldn't put that image into your HTML and instead you should use::before
pseudo-element on.card-one
container. Set that pseudo-element to beposition: absolute
and within yourcontent
property add image url -content: url(../images/bg-pattern-quotation.svg);
. Then position it withtop
&right
properties. - Change the
alt
attributes for the.profile-img
avatars, as they don't add any extra context for screen reader users. Since your images are decorative youralt
text should be provided empty (alt="") so that they can be ignored by assistive technologies. You can change.profile-name
to be your heading<h1-h6>
element and it will be enough do describe this card in addition with.profile-position
.
Good luck with that, have fun coding! 💪
2@Skyz03Posted over 3 years ago@tediko Thank you for your feedback again ... Your comments are a great source of learning ... I did try to implement semantic HTML 5 from your last comments and still learning and implementing , also taking notes to apply to next projects. Will update this soon thanks! 😃👍
0@Skyz03Posted over 3 years ago@tediko Thanks man updated the solution, learned how :before works now plus also got the idea of the report issue which was to implement
h1 - h6
inside the section.1 - I think in this case
- @deepchhatraliaPosted over 3 years ago
You can try using display-flex and then use align items and justify content
1
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