@ShoaibShuja
Posted
Amazing job my friend but the font doesn't seem to be applied to the page.
I checked your code and you forgot to copy the font's link in the head tag neither you imported it in the stylesheet. To fix this issue you can always find the links to different font types in google fonts and simply copy the link.
This will fix the font issue in your webpage:
- Outfit and Young-Serif font's link for html head tag:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Young+Serif&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Young+Serif&display=swap" rel="stylesheet">
And also, you have the correct information about the header tag.
@ratsagi
Posted
@ShoaibShuja, thank you for your feedback. I am afraid you are wrong because the fonts are applied locally by @font-face you can check it by dev tools.