Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive product preview card using Svelte + Tailwind

@DontMash

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

P

@jamesbarnett

Posted

Hi,

Very nice work on your solution! It looks excellent.

Things I especially liked:

  1. Use of Tailwind, Vite, and Svelte.
  2. Very nice responsiveness from tiny to giant screens.
  3. Fantastic work on the typography!
  4. The way you utilized tailwind screens to make things responsive without media queries.

Things that could be improved:

  1. The W3's guidance is to use rems over pixels for font sizes is better for accessibility and future proofing. https://www.w3.org/WAI/tutorials/page-structure/styling/

Happy coding!

0

Please log in to post a comment

Log in with GitHub
Discord logo

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