Responsive dynamic social proof section [React, Tailwind, Vite]
Design comparison
Solution retrospective
This is my second project using React!
I'm happy to have managed to build a more complex layout, with dynamic rendering. The reviews are stored in a seperate js file, and imported dynamically so the layout adapts to the number of reviews.
This allowed me to easily get the offset effect.
What challenges did you encounter, and how did you overcome them?I struggled to do the same with the 5 star reviews, as I couldn't figure out how to access the array I had created in App.jsx (without just copying the constant).
In the end, I just hard coded it.
What specific areas of your project would you like help with?I am not quite familiar with hooks, I chose a simple solution from the web to use media queries. If there's something I could have done better, feel free to tell me.
Community feedback
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