Learn Basic CSS by Building a Cafe Menu - Step 16

Tell us what’s happening:

I tried to ask friends, looked up how to fix it and went to other websides to solve this problem but the problem keeps continuing. I also disabled my extensions, updated my browser, turned on light mode and switched browser but it’s still not working

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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0

Challenge Information:

Learn Basic CSS by Building a Cafe Menu - Step 16

Sorry for bothering u guys, i fixed it.
i forgot that i rel and href are attributes to link, and my mistake was to close the link with > that’s why it didn’t work

1 Like

That’s fine. Those are easy mistakes to make.

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