Submitted over 2 years agoA solution to the Testimonials grid section challenge
Testimonials Grid Section, HTML & CSS (hover and full responsive)
animation, accessibility
@SouzaSantosK

Solution retrospective
This challenge was relatively easy. I understood well how 'display: grid' works, but I had a doubt, not only in this challenge, but also in others: the use of 'margin' to manipulate text (<p> tags) in a way that it looks similar to the original design. In addition to being repetitive, I found this practice completely disadvantageous, because in challenges with more text, manual resizing can be very laborious. If anyone has a solution to this problem, it would be greatly appreciated. Example:
.card-1 p {
margin-right: 40px;
}
.card-2 p,
.card-5 p {
margin-right: 20px;
}
.card-3 p {
margin-right: 25px;
}
.card-4 > p {
margin-right: 50px;
}
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Kauã de Souza's solution.
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