Learn Basic CSS by Building a Cafe Menu - Step 17 - BEfa3WDSO4e7TKn_kS_Oz

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

I am getting Hint: You should have one self-closing link element.
when there is only one link element. I believe that i typed it in right based on other posts.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <link rel="stylesheet" type="text/css" href="styles.css"/>
</head>
<body>
  <header>
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
  </header>
  <main>
    <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:102.0) Gecko/20100101 Firefox/102.0

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

Link to the challenge:

1 Like

Hello,
you don’t need to add a “type” in the css link.

Even without it, the code does not seem to work
image

1 Like

same problem for me. Both ways don’t work. What’s funny is that copying their solution from step 18 still doesn’t work

Sorry to hear that folks,

maybe try another browser? In Chrome it works fine.

I keep seeing problems with this exercise popping up almost daily.