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

HTML/CSS/Flexbox

Jason Mitchell•200
@JasonMitchell02
A solution to the Product preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Only been a month since I've started to learn HTML/CSS. The difficult part was to place the different components in the areas I needed using flexbox. Getting the size of actual image, card and text components to work and fit together nicely was definitely a challenge. But I didn't want my code to be all over the place. I think there is definitely a lot to improve upon, I just can't see it right now. I think in my CSS there are probably a lot of lines that are there that don't need to be. Item placement is definitely something I need to learn more about. I feel like I may have too many divs or classes, and font styling could be fine tuned.

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 Jason Mitchell'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