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

Responsive implementation for a product preview card using HTML & CSS

accessibility
Chinedu Daniel Okeke•340
@Sage-25
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?

What I am most proud of about this task is the fact that it made me realised that I had be coding wrong for a while, more like I have come to a single realisation that If I had used my divs well, I would have coded differently and efficiently in my past submissions.

What I'd do differently next time is ensure that I try different things and not be scared of breaking things on the process, it might be frustrating but it would help me learn something new.

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

The only challenge I encountered on this task is that the image wasn't touching the floow of my flex regardless of how many times I increased the width, I wasn't sure what was wrong, the images I had used previously had never challeneged me this much before -I still haven't overcame it, I tried using rem's, percentages and still didn't find a way to scale it.

As a desiger, the fact that it wasn't aligning properly really disturbes me.

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

Currently, I would just like an honest review based on what I have done so far and how to improve my written code.

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 Chinedu Daniel Okeke'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