Learn Basic CSS by Building a Cafe Menu - Step 12

Tell us what’s happening:
Describe your issue in detail here. i didnt get step 12 of building a cafe menu… was told to have h1 selector

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style> element {
 property: <h1 text-align> value;center</h1>
    } <h1>text-align</h1>
    </style>
  </head>
  <body>
    <main>
      <header>
        <h1>CAMPER CAFE</h1>
        <p>Est. 2020</p>
      </header>
      <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/106.0.0.0 Safari/537.36

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

Link to the challenge:

The example shown to you is a template of how your CSS code should look

element {
 property: value;
}

The word “element” should be replaced with the name of the element (h1)
The “property” in this case is text-align

And the value is center

Try to make your code exactly like the template.

not working out please… saying i should have an h1 selector in my style element

what does your latest attempt look like?

{ text-align: center; }

Between ‘style tags just continue the same way is it has been done for ‘h1’ but now for’ h2’ and ‘p’ element.