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 component

pedroβ€’ 30

@YKlK

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

Lucas πŸ‘Ύβ€’ 104,420

@correlucas

Posted

πŸ‘ΎHello Pedro, congratulations for your new solution!

I think you've missed the font for the h1 and also the paragraph you can have all these information looking the file called style-guide.md.

The font for the h1 is font-family: 'Fraunces', serif; The font for the rest of the text is: font-family: 'Montserrat', sans-serif;

Here's the import: @import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],700&family=Montserrat:wght@500;600;700&display=swap');

You can manage the product image inserting the tag <picture> to wrap both desktop and mobile images together in the same tag, and render each image depending of the device (phone / computer) by the settings for the width you'll insert in the html

πŸ‘‹ I hope this helps you and happy coding!

1

pedroβ€’ 30

@YKlK

Posted

@correlucas thanks bro

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