Learn Basic CSS by Building a Cafe Menu - Step 17

What seems to be the problem here? It keeps telling me " You should have one self-closing link element.". which I do…

 <link rel="stylesheet" href="styles.css"/>
  **Your browser information:**

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

Challenge: Learn Basic CSS by Building a Cafe Menu - Step 17

Link to the challenge:

1 Like

please do not delete the code formatting from the template

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

I have added your code to the starting code of the step, and the step passes. Can you post all your code?

I got the same problem. My code should work, but it doesn’t pass the test.

I have the same issue in:

  • chapter 7 of course “Learn CSS Colors by Building a Set of Colored Markers”
  • chapter 5 of course “Learn HTML Forms by Building a Registration Form”
<head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <link rel='stylesheet' href='styles.css'/>
  </head>

How to make it works?

Update:

I found this is probably the Chrome problem. I switched to Brave Browser and everything work here. I suggest to switch to different browser, do your code and then go back to previous browers if you want.

I tried solving those challenges on Firefox and it worked, thank you

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