Can't understand what's wrong. Step telling me to set style to the h1 element in the head element but h1 is located in the header not the head

Tell us what’s happening:

  **Your code so far**
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <style>
  </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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Step 12

Link to the challenge:

This is HTML element. To style it we need to create something called selector.

You have example of selector syntax in your task.

Selectors should be inside style tag.

So I followed your guidance and got this result which still won’t work. I’ve tried some other combinations of code slightly different in case it was a case of typo.

<style <h1> {
   text-align: center;
   }>
   </style>

it gets better, but we have some syntax misunderstanding I believe

look
some HTML element

<fieldset>
</fieldset>

If i need style for this I’ll code something like

fieldset {
   font-size: 1rem;
}

and it will be inside style tag

<style>
  fieldset {
   font-size: 1rem;
}
</style>

Oh god. I misunderstood the first reply and thought I should place it inside the opening tag like you would with an attribute. Thanks