Im having trouble with linking google fonts


#1

Can someone please tell me whats wrong with this code
<link href="https.fonts.googleapis.com<br/> /css?family=Roboto:100" type="text/css"
rel="stylesheet" >
I am trying to link a google font to a webpage.
Thank you


#2

Hi @mzukisi.mtshelu,

Which exercise are you working on? Please include a link to it so that we can give you a better answer.

Here is the URL that you have tried to use to point at the Google Font called Roboto:

https.fonts.googleapis.com&lt;br/&gt;              /css?family=Roboto:100

That link is not a valid URL. You can test that by trying to visit it with your web browser.

After checking the Google Fonts site, here is the correct URL:

https://fonts.googleapis.com/css?family=Roboto:100

Does that help?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.