Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:
Describe your issue in detail here.this is the syntax for this but it keeps failing.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
  </head>
  <body>
    <main> 
     <h1> Camper Cafe
     <h1>{
        text-align: center;
       }
       </h1>
        <p>Est. 2020</p>
      <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/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15

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

Link to the challenge:

hi there,

you have removed the style tag but this step did not ask for this.

You need to reset (click the button that has an arrow on it) and then try again.
This time when you reset focus on adding proper css code inside the style tage

    <style>
    </style>

Note: when you add the element name, do not use angled brackets this time.

pls where are my inputing this syntax…ive done so many things but it keeps failing

Hello,

Your styles should go inside the styles tag. Refer to this article on how to add internal CSS.

Hope that clarifies how to fix your issue.