@denissejoyce
Posted
Hey Srishti, good job on completing the challenge!
To address your last question about the font weights, you're going to have to replace some parts of your base URL — after the font family name, you will have to use wght (axis property for weight) and then use '@' afterward, followed by your preferred font weights (separated by semi-colon) like so ⬇️
(for example you want Fraunces in 400 and 600, and Monsterrat in 300 and 700)
<link
href="https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600&family=Montserrat:wght@300;700&display=swap"
rel="stylesheet"
/>
They also explained this and more in their API docs ☺️
@itsmesrishti
Posted
@denissejoyce Hi, thanks for the explanation. I'll try it out next time and checkout their docs as well! Thanks :)
@denissejoyce
Posted
No problem! @itsmesrishti