
Design comparison
Community feedback
- P@nvallinePosted 12 months ago
Hi,
Good job on the challenge. When I pull up your live site, it doesn't look like the correct font is being utilized.
When I completed the challenge, I found that the filename for the font contained a ',' between slnt & wght. I replaced that with an '_' and used this code in my CSS.
@font-face { font-family: 'Inter'; src: url(./assets/fonts/Inter-VariableFont_slnt_wght.ttf); }
I also used the fallback sans-serif when declaring my font-family.
font-family: 'Inter', sans-serif;
This way if there is an issue with the 'Inter' font, it will fallback to a similar looking font.
I hope this helps.
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin 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