Learn Basic CSS by Building a Cafe Menu - Step 11

Hello, is there something wrong with the portion containing the header style? I thought I followed the format correctly for centering it, but it continuously says it is wrong. Any help would be great, thank you!

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>
    <main>
      <h1>CAMPER CAFE</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/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

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

Link to the challenge:

Remove the symbol before h1 in your style tag

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