Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Product Preview Card Component

P
Anirudh Chandrasekaran•70
@sambarvadai
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'm pretty proud of getting the view almost perfectly for both the desktop widths and the mobile widths specified in the style.md file(matching everything from the color elements to the font size, style and placement.)

For improvement, I'd like to explore more with flexbox shrink properties and make my views more fluid with any screen sizes(currently mobile view has only be tested on Samsung S8+:width:375px).

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

The biggest challenge was to write out the mobile CSS without hampering the work done for the wide screens. I had to brush up my CSS fundamentals, look up on overriding properties and ensured that whatever changes I made for the mobile layout, I was undoing them for the wide screen by overriding said changes.

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

Feedback, definitely. Since the community is filled with so many talented developers, constructive feedback will definitely help me improve my skills. Also, if someone can comment on my code quality, it'll definitely help me improve. I know that I have written a lot of redundant CSS and also a lot of maybe unnecessary CSS attributes, so any areas of improvement will help me become a better developer.

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 Anirudh Chandrasekaran'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