Learn CSS Grid by Building a Magazine - Step 2

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<!-- User Editable Region -->

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

<!-- User Editable Region -->

  <body>
  </body>
</html>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

Challenge: Learn CSS Grid by Building a Magazine - Step 2

Link to the challenge:

Sorry, your code does not pass. Hang in there.

Your three link elements should have a rel attribute with the value stylesheet.

Hello!

Each link should begin with the < link rel= “stylesheet”
You have it in one of the links.
Just add it to the other two and you should pass.
Happy coding! :slight_smile:

:slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face:
I got it, thanks.

You are very welcome! Happy coding! :slight_smile:

Hi
I’m stuck at the same step and i can’t see what is wrong with my code

I have the rel= “stylesheet” attributes but the hint always says that
“Your code should have three self-closing link elements”

I have checked the code on Nu HTML validator and i don’t have error, just an advice regarding Trailing slash on meta tags.

Does somebody sees what is wrong within the code beneath ?

  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Magazine</title>
    <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>

Please do not hijack another users topic.

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

2 Likes

ok thank you for your reply, i will create a new topic

2 Likes

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