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

Product Preview Card Component Solution

aelvanna•190
@aelvanna
A solution to the Product preview card component 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 am most proud of being able to use SCSS instead of CSS. Next time, I would like to try to make the font sizes change in size based on viewport size.

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

A challenge I encountered was the product image not having a border-radius at the top of the card component, even when the border-radius property was added to the card component class. I was able to find a solution from the dev.to website. The solution I found was:

overflow: hidden
border-radius: 1.5%
What specific areas of your project would you like help with?

I would appreciate feedback on improving the responsiveness of my solution and feedback on how I used SCSS, particularly if I can be improve how I used it.

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