Step 17 having trouble linking my style.css file

i am having trouble adding the link for my style.css file
Describe your issue in detail here.

  **Your code so far**

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">  
<meta charset="utf-8" />
  <title>Cafe Menu</title>
  <style><h1>{ text-align: center;}>
  </style>
</head>
<body>
  <header>
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
  </header>
  <main>
    <section>
      <h2>Coffee</h2>
    </section>
  </main>
</body>
<html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36

Challenge: Step 12

Link to the challenge:

i also am not on step 12 i dont know why that is linked and not step 17.

You have given extra "<" and ">", this is not a part of css.
It is also good to indent your css for “readability”

div{
  color: red;  /* This is some indented css */
}

When your css is properly aligned, it becomes more readable.

The problem is from your href add “s” to your ‘style’

i.e use href=“styles.css”

It should run now

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