Aprende CSS básico construyendo un menú de cafetería - Paso 12

Cuéntanos qué está pasando:
Describe tu problema en detalle aquí.
ya he colocado varias formas de como centrar el h2 y p dentro del style tanto

h1, h2, p {
text-align: center;
}


h1 {
text-align: center;
}
h2 {
text-align: center;
}
p {
text-align: center;
}


h1 {
text-align: center;
}
h2, p {
text-align: center;
}

pero me sigue arrojando error
Tu código hasta el momento

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>

<!-- User Editable Region -->

    <style>
      h1, h2, p {
        text-align: center;
      }
    </style>

<!-- User Editable Region -->

  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>

Información de tu navegador:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 OPR/98.0.0.0

Challenge: Aprende CSS básico construyendo un menú de cafetería - Paso 12

Enlaza al desafío:

Hola.

h1 {
text-align: center;
}
h2 {
text-align: center;
}
p {
text-align: center;
}

es el correcto.

Si no te funciona, prueba con otro navegador.

Saludos.