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

Product Preview Component

Maria Luisa Durães•160
@MariaLuisaMD
A solution to the Product preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


This was the first challenge I applied concepts of responsiveness, but I didn't use mobile-first. That's something I intend to try next. I had some difficulties in the case of the image, I do not know if the best was to declare a background image to solve the challenge. After having already completed 90% of the work I went to search the images and saw display: none and <picture> , which would be better to use? The <picture> allows you to declare the screen size, I would love some tips on this! I also appreciate any other comment on the code

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 Maria Luisa Durães'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