Learn Basic CSS by Building a Cafe Menu - Step 16

It’s asking me to have a self-closing link element with various attributes. I do have those things, but it tells me " You should have one self-closing link element."
Why??? This issue exists for other people, but none of the solutions provided such as causing a different browser, turning off various extensions, and reloading.

Your code so far

<!-- file: index.html -->

<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <link href="styles.css" rel="stylesheet"/>
  </head>
  <body>

<!-- User Editable Region -->

    <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 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

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

Link to the challenge:

1 Like

Your code passes for me. Try restarting and refreshing the challenge. If that doesnt work, make sure you dont have any extension’s enabled when submitting. Things like ad blocker and dark mode can cause the challenge to fail. Finally you can try submitting in a different browser

1 Like

I used a different browser on a different device, thank you for the input.

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