HTML-CSS centering

Tell us what’s happening:
Centering has failed me I

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>

Hello, try remove the " " from the text-align property.

1 Like

Thank you so much it worked

1 Like