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

HTML & CSS Simple Layout

#bem
Martin Amankwaaβ€’ 30

@MartyOfMCA

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Could anyone kindly explain you to what I'm doing wrong in setting the font family for my title (content-title in my markup file) to Fraunces.

I humbly welcome suggestions on any other areas I missed. Thank you!

Community feedback

P
Dave Quahβ€’ 670

@Milleus

Posted

Hello,

The font import URL is incorrect. Go to the font links and select the font weights/styles, a side window will pop up with the selected fonts and guide you on how to import the fonts.

  • https://fonts.google.com/specimen/Fraunces
  • https://fonts.google.com/specimen/Montserrat

The import should look something like this

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

Hope this helps!

Marked as helpful

0

Martin Amankwaaβ€’ 30

@MartyOfMCA

Posted

@Milleus Thanks a bunch. I just learned something new. I'll keep refactoring :)

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