@mkboris
Posted
It's best practice linking Google fonts directly in the HTML head
section rather than directly in your CSS file as it enables asynchronous downloading, improving page load times. Like so
<head>
<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=Figtree:wght@600;800&display=swap"
rel="stylesheet"
/>
</head>
Marked as helpful
@SamanthaJowa
Posted
Thank you for the tip @mkboris