Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

Product preview card component

Dicskson Owusu Nyantakyi•270
@ondickson
A solution to the Product preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


On the description, I noticed there was a slight height interval between the words. However, I've searched online but couldn't figure out how to do that or maybe that's just how it's supposed to be. I'm very unsure about this. Also in the button, I found it difficult to align the text(Add to Cart) with the cart png image. I tried looking for solutions but almost everyone seems to be interested in text and text horizontal alignment.

Do I need to also give comments on all of my CSS code? Right now, I'm happy with how far self-thought has given me. I know there's more to learn and I'm 100% ready for 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 Dicskson Owusu Nyantakyi'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