Learn Basic CSS by Building a Cafe Menu - Step 12

Tell us what’s happening:
Describe your issue in detail here.
Hey All, can’t seem to figure out what they mean by having an h1 selector, it looks good to me, I am doing this by iPhone but on Google Chrome, thanks for any help!

  **Your code so far**
<!DOCTYPE html>
<html lang="en">
<head>
  <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 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/103.0.5060.63 Mobile/15E148 Safari/604.1

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

Link to the challenge:

try to add the missing > to the opening style tag

Hello! Just attempted it but doing so closes of the h1 element? If that makes sense, like it’s not a valid element, and then I tried inserting the “>” after the last curly bracket and still nothing

Look closely at the example in the instructions. Pay special attention to the curly braces. Make sure your braces look like the example.

Also, look at the format for setting a property in the example:

property: value;

You are doing:

property=value;

Do you see the difference?

1 Like

I got it! Thank you, I didn’t take note of the value not using = but instead : , thank you very much! I need to practice on rereading my code and making sure I proofread