Learn Basic CSS by Building a Cafe Menu - Step 16

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

I’m not sure on the structure of this line.

Your code so far

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

<!-- User Editable Region -->

  <head>
    <link rel href="stylesheet"
    <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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

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

Link to the challenge:

it is supposed to have a > at the end of the line
also the rel should be given the value “stylesheet”
and the href should be the path to the stylesheet (or just the name of it like styles.css)

So on my code it has the sylesheet in it, for some reason it’s not showing in this post.

<link rel="stylesheet" href="style.css"> that is what I have in my code.

It won’t let me paste the actual code, I don’t know understand how this forum works with pasting the code.

Everything you said in that post is in the code I’m seeing. This is confusing me.

< link rel=“stylesheet” href=“style.css”>

I’ve edited your code 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 (').

check the href value. Is the name of the stylesheet styles or style?

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