No se cual es mi error, si me pueden ayudar

Paso 12 de CSS

<!DOCTYPE html>

<html>

  <head>

    <meta charset="utf-8" />

    <title>Cafe Menu</title>
<style>

      h1, h2, p {

        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>

HI @Matew3098 !

Welcome to the forum!

Please provide a link to the challenge you are working on so we can help you.

Here is the link https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/step-12
Thanks

So the challenge only wants you to center the h1.
It looks like you centered the h1,h2 and p tags.

Once you fix that error, then it will pass.

Hope that helps!

Well I only centered the h1 element but it gives me this error code
Test

Sorry, your code does not pass. Keep trying.

Hint

You should have an h1 selector in your style element.

Can I see your new code?

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Here is the new code thanks for the help

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

The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

Or you can try another browser

Oh it was the adblocker i didn’t know it could interfere. Sorry for the inconvenience