Solution #10. Sunnyside landing page. React | Vite | Tailwind | Framer

Solution retrospective
What I'm most proud of is that I mastered Tailwind (at a basic level). I wanted to try something new besides SCSS.👌
Next time I would like to use TypeScript in my project.
There were quite a lot of difficulties😃
The most difficult thing for me was using classes in components correctly.
It was also difficult to work with the CardDescription component.
The difficulty was that I needed to style the last 2 cards in the component and style them differently.
I dealt with this using if else conditions:
if ( index === cardData.length - 2 || index === cardData.length - 1) {
return (...)
And also I used Framer Motion for animation and it also took me a while to understand how to apply this library to components!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Danya'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