Submitted over 1 year agoA solution to the Testimonials grid section challenge
VueJS Responsive Testimonials Grid
vite, vue, accessibility
@mbtenkorang

Solution retrospective
What are you most proud of, and what would you do differently next time?
😀🥳🎉😁 .... Using more modern ways of writing CSS due to the use of PostCSS in ViteJS.
I did do something differently, I extracted all the testimonial data into a json file which is fetched asynchronously and rendered by a single Vue component using a v:for directive.
Targeting styles for the individual testimonial cards was easier once I could write styles like this 👇
p{
color:blue;
}
div.item-1{
p{
color: green;
}
}
The sample css will render all paragraph elements on the page with the color blue while the paragraph in the div.item-1 element will be green.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Moses'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