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

Product Preview card classic

Florian Samβ€’ 10

@Florian-Sam

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

Nelsonβ€’ 2,380

@nelsonleone

Posted

HELLO.....congrats on completing this challenge ....well done 🎊 🎊

Here's little tip you might want to know.

Firstly, it's good practice to wrap your main content in a <main>. other than a <div>.

Secondly, you can have multiply images based on the viewport using the <picture>. You can read more about it in the MDN docs, w3schools ,and w3docs.

Also, avoid setting heights on your content unless there's need to , you can use padding and margins to scale up your content.

Hope this comment was helpful, have fun coding

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