<!DOCTYPE html>
<html>
<head>
<title>BookNotes</title>
<meta charset="utf-8" />
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
<meta httpEquiv="Content-Language" content="en" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
/>
</head>
<body>
<div id="root"></div>
</body>
</html>
I have this html page , I want to use Roboto font stylesheets , but in the way like I use it Lighthouse give me this warning :
What is the best way to optimize it ? I've read that I can use defer or async attribute, for loading it in async way of after rendering , but if I will load it after rendering , it will not apply styles for my font , etc . Will be really appreciate your help. If you need additional info , pls let me know .
