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

Four Card Feature Section - Svelte/Vite/Tailwind/PostCSS/GHPages

svelte, vite, tailwind-css
Jim Barnett•260
@jamesbarnett
A solution to the Four card feature 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?

I felt like I had better awareness of responsiveness throughout this challenge. I caught a mistake early on during the layout where I got some spacing to match the design, but quickly realized that approach wasn't going to resize how I would like. I think that's progress. :)

Differently? Deploy earlier. Also, I wouldn't add Svelte to a Vite project after the fact again (though that was a learning experience).

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

First time getting Svelte, Vite, PostCSS, and TailwindCSS all working together and deployed to github pages. Reading, googling, and some trial and error got it working eventually. Then I had to get the images to work, lol.

What specific areas of your project would you like help with?

I would love to hear alternative approaches to achieving the desktop layout of 3 columns with two cards occupying the middle column and the other two cards middle aligned.

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 Jim Barnett'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