Learn Basic CSS by Building a Cafe Menu - Step 16

Tell us what’s happening:
Describe your issue in detail here.
The prompt is to (Nest a self-closing link element in the head element. Give it a rel attribute value stylesheet and an href attribute value of styles.css.) I have done that in the first line under the element. However, after running the test it continues to say: (Sorry, your code does not pass. Try again. ## Hint You should have one self-closing link element.) I have checked for spelling errors. Gone back a couple of steps and redone them to try to get back into it again. Gone away and come back. Checked with chatgpt. Is this just a system error or am I blind and missing something?
Your code so far

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

<!-- User Editable Region -->

  <head>
    <link rel="stylesheet" href="styles.css" />
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
  </head>

<!-- User Editable Region -->

  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>
/* file: styles.css */
h1, h2, p {
  text-align: center;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0

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

Link to the challenge:

Hello!
The code looks good to me.
It could be the browser causing an issue, or an extension could be the problem.
I have had this happen, at times, when my code is correct. I have received that it failed for some reason, only to discover it was one of my extensions, or the browser was a temporary issue.
You could try checking for an extension causing it, or try submitting it with a different browser.
Happy coding!

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