Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive using HTML CSS and FLEX

Jioh19 90

@Jioh19

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

P

@anna-dominguez

Posted

Hey ! I had never seen the picture tag used before, it helps a lot for media queries. Good job with only HTML and CSS 🙌🏻

Things you could improve:

  • Hover over the add to cart button
  • You should check out the align... to center your button content vertically
  • Try to delete the spaces for your <h5>Perfume</h5> and style it out with CSS with letter-spacing

Let me know if you have any doubt 🚀

1
Jioh19 90

@Jioh19

Posted

Learned that Chrome and Firefox show things differently. <picture> <source srcset="./images/image-product-desktop.jpg" media="(min-width: 650px)" /> <source srcset="./images/image-product-mobile.jpg" media="(max-width: 650px)" /> <img src="./images/image-product-desktop.jpg" alt="Imagen" /> </picture>

0

Please log in to post a comment

Log in with GitHub
Discord logo

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