Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

css flex

Ruan Gomes•100
@rug19
A solution to the Product preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


It wasn't effortless cause I've never worked with CSS layouts before so I had to learn how to use it. I'm unsure about CSS grid and flex but I'm learning so I hope to get better at doing other projects with the same pattern. I'd like to help with something that I couldn't do which was to leave the title flexible, so I hope someone checks my code and give me some feedback to improve it.

Thank you so much for all the community support, it's incredible.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Anthony Nanfito•120
    @ananfito
    Posted almost 2 years ago

    For someone who's never worked with CSS layouts before, it looks like you did a great job and learned a lot in the process. Your design is responsive and matches the design specifications fairly well.

    If you're looking to learn more about CSS, I recommend Kevin Powell's YouTube Channel. (if you haven't already checked it out). He's got a ton of videos and tutorials on how to use CSS, flexbox, grid, etc. He also has a free course about building mobile-first, responsive websites.

    Great job on this project and keep up the great work!

    Marked as helpful

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub