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

Testimonials Grid Section (with Testimonial Filtering)

motion, react, vite, react-router
P
Darkstar•1,490
@DarkstarXDD
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?

Built with. 🔨

  • React.
  • Vanilla CSS.
  • React Router (For testimonial filtering).
  • Framer Motion.
  • Vite.

Notes. 📌

  • The font sizes in the design file were going as low as 11px and 13px, which I think is too small. Instead I used 14px and 16px, making the text easier for users to read. Because of that, my solution is bit larger than the original design, but I think it's better than forcing the user to read very small text.
  • I also used a background blend mode on the background image of the first testimonial, so that it’s more subtle and doesn’t interfere with the text that is in front of it.

Features. ✨

  • Added two buttons to filter testimonials based on whether they are from a verified graduate or a student.
  • Added some view based animations using Framer Motion.
  • Used the useReducedMotion hook to make sure that users who have reduced motion setting enabled don't see the animations.

New Things Learned. 🎓

  • useSearchParams hook in React Router.
  • Using the Framer Motion Library.
What specific areas of your project would you like help with?

Would love some overall feedback on any areas where I can improve. Any mistakes I have done, use of HTML semantic elements, feedback on the animations, any thing you would have done differently etc.

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 Darkstar'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