Learn CSS Grid by Building a Magazine Step 2

Getting an error in this one. I have disabled all extensions and double checked multiple times but I can’t get past this one.

# Step 2

Add a title element with the text Magazine, a link element for the https://fonts.googleapis.com/css?family=Anton%7CBaskervville%7CRaleway&display=swap font stylesheet, a link for the https://use.fontawesome.com/releases/v5.8.2/css/all.css FontAwesome stylesheet, and a link for your ./styles.css stylesheet.

Your font stylesheet will load three separate fonts: Anton, Baskervville, and Raleway.

Sorry, your code does not pass. Don’t give up.

Your link element should be within your head element.

  <head>
    <title="Magazine"/>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Anton%7CBaskervville%7CRaleway&display=swap"/>
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"/>
    <link rel="stylesheet" href="./styles.css"/>
  </head>

I’m sure I’m missing something simple, but I just can’t see it.

Please use the ask for help button in the challenge. It will make things so much easier for us to find the relevant lesson you need help with.

That is not the correct syntax for the title element.

As far as I know you can`t use a self closing tag for Title. It should be opening tag-Magazine-closing tag. Also take out the assignment operator.

Okay, it was the improperly coded title element. Not sure why it was telling me the Link was the problem though. Thanks for the help!

Because the browser tried to do the best it could with the HTML and all the elements ended up inside the title element.

It is what makes HTML and the browser so resilient, but it can also make it harder to debug because it tries to “fix things” on its own.

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