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

Perfume Preview Card

Utkarsha Nikam•120
@utkarshanik
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 will follow the method of using vh vw also % while giving size. It helped me a lot to achieve responsive layout. I will focus on more clear and suitable structure. Also i would like to have code reusability by giving same class name for similar components

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

This time i came across that image challenge where i have to fit it at one side occupying 50% given space. At the same time only 2 outer corner of it should get rounded and inside corner should remain as normal square corner so achieve it using overflow hidden prop to parent container. Next is vertical layout for mobile screen

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

Again responsive layout for smaller screen. Also i figure out that i can achieve code reusability by having different components under same class. but i am lacking in it . Like giving global font-size , family and color.

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 Utkarsha Nikam'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