Submitted over 2 years agoA solution to the Product preview card component challenge
Card component using nextjs and tailwindcss.
next, tailwind-css, react
LVL 1
@njpoli

Solution retrospective
I used a lot of defined pixel-width elements to get this component to look correct. Is that bad practice? Should I be using percentage-based sizing if possible? I tried for a bit but this caused the component to grow and shrink in ways that made it look wrong without a defined width/height. I appreciate any and all feedback.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Nate Poli’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