Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

VueJS Responsive Testimonials Grid

vite, vue, accessibility
Moses•340
@mbtenkorang
A solution to the Testimonials grid section challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

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.

What challenges did you encounter, and how did you overcome them?

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 GitHub

Community 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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License