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

Perfume add card challenge (HTML CSS)

Soraya•230
@Sorpanda
A solution to the Product preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I got really far on my own with this challenge, but I got stuck at changing the images when going from mobile to desktop and my white container stayed really big or my image didn't fit into the container anymore. Eventually I watched the tutorial on youtube from Kevin Powell and learned a lot more. (https://youtu.be/B2WL6KkqhLQ)

I put comments in my code to indicate which elements I got from the tutorial. Where there is no comment I did the code by myself.

What do I still need to learn: I am going to deep dive in Flexbox and grid, because that is still very hard. I am still a real newbie, there are lots of things I don't know yet, but I wanted to start practicing as much as possible with the things I already do know, the clip, clip-path didn't ring any bells yet, so I am going to study up on that as well.

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 Soraya'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
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