@htmlars
Posted
Hey, first of all congratulations on beating this challenge!
In order to add custom fonts to your webpage, you can add the @import code provided on https://fonts.google.com/ to the top of your css. In this case it would be:
@import url('https://fonts.googleapis.com/css2 family=Outfit:wght@400;700&display=swap');
Next, you simply want to declare the font-family in lets say your body tag like this:
font-family: 'Outfit', sans-serif;
Done. The font will now apply to every text that you put on your webpage. If you only want it to apply to certain parts, make sure to declare it in a specific tag that is not the body tag. Gl
Marked as helpful
@BeubRunner
Posted
@htmlars thanks for your help