Design comparison
SolutionDesign
Solution retrospective
Need help getting @font-face to work with Github Pages! Works locally but won't work when hosted!
Community feedback
- @pertrai1Posted over 1 year ago
The code I looked at looks great. I did look and see that there is a 404 for the font location. Maybe changing
src: url(/assets/fonts/Inter-VariableFont_slnt\,wght.ttf);
tosrc: url(assets/fonts/Inter-VariableFont_slnt\,wght.ttf);
where/assets
becomesassets
without the leading/
?Marked as helpful1@JCastelli12Posted over 1 year ago@pertrai1 This did the trick! Thank you so much!
0
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