I was asked to nest a self closing link element within the head elemnt and with some attributes and its value

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

  **Your code so far**
\ file: <!DOCTYPE html>
<html>
<head>
  <link>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
</head>
<body>
  <header>
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
  </header>
  <main>
    <section>
      <h2>Coffee</h2>
    </section>
  </main>
</body>
<html>
<!DOCTYPE html>
<html>
<head>
  <link>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
</head>
<body>
  <header>
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
  </header>
  <main>
    <section>
      <h2>Coffee</h2>
    </section>
  </main>
</body>
<html>
\ file: h1, h2, p {
text-align: center;
}
h1, h2, p {
text-align: center;
}
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:100.0) Gecko/20100101 Firefox/100.0

Challenge: Step 17

Link to the challenge:

yeah, so you would need to write the correct attributes, wouldn’t you?

i did that but am been told that my code should have a link element

try adding the attributes, sometimes the tests are not that precise

thank you i got it now i positioned it at the wrong area. thank you very much

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