@AramHagen
Posted
Good job! I wanna recommend this approach for import the google font to your project
I learned how to use the &
symbol to import two fonts in my HTML (family=Outfit:[email protected]&family=Young+Serif)
. I also learned that the <link>
approach is faster and more efficient, while using @import
in CSS introduces delays and additional requests.
@import url('https://fonts.googleapis.com/css2?family=Outfit:[email protected]&family=Young+Serif&display=swap')
; in the CSS file.- Adding
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Outfit:[email protected]&family=Young+Serif&display=swap" />
to the<head>
tag."
@CamrynTidsworth
Posted
Thanks for the info @AramHagen, I'm definitely going to try this.