Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 11 months ago

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

motion, react, vite, tailwind-css
Danya•190
@elClassico-eng
A solution to the Agency landing page 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?

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.

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

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!

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

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