More Fonts ex.5

Need help, don’t understand whats wrong:(

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

In index.html, add a link to the Google Font Roboto. Use the following URL:

<!DOCTYPE html>
   <title>The Rise of Soccer in The US</title>
    <link href="style.css" type="text/css" rel="stylesheet">
  <link href='' type='text/css' rel='stylesheet'>

Since the stylesheet specifies the Roboto font, it has a dependency, which means the font should load first so it is present when the style sheet is parsed.

Sorry, im not so good in english, don’t understand, what should i do:(

Switch the two link elerments around so the stylesheet.css loads after the font.

It doesn’t help

> <!DOCTYPE html>
> <html>
> <head>
>    <title>The Rise of Soccer in The US</title>
>    <link href='' type='text/css' rel='stylesheet'>
>      <link href="style.css" rel="stylesheet" type="text/css">
> </head>

Refresh and Run again so your code updates could be all you need to do, now.

Sit on this second day, I tried everything, updates Xtimes, nothing helps, maybe bug?..

Hard to say. Once we complete the exercise it is our final code that gets saved. The only way we can test other’s code is to redo the entire module and catch up to where you are. This is very time consuming and often times doesn’t arrive at a solution. I don’t know how effective we can be under these conditions. A lot of the same very basic questions are surfacing in the forums and nobody can help. Kinda scratching my head…

1 Like

Yeeah i got it! This is correctl!!! Thanks for trying to help:)))

   <title>The Rise of Soccer in The US</title>
     <link href="style.css" type="text/css" rel="stylesheet">
          <link href="" type="text/css" rel="stylesheet">

If it let you move on, then kudos. I still stand by the suggestion to load the font before the style sheet, just for best practice and logical load order. Dependencies should download and load before the modules that expect them.

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