Design a Cafe Menu - Step 11

Tell us what’s happening:

Step 11 requires removing all style elements; I have followed the instructions and double-checked everything thoroughly, yet the system still reports an error.

Your code so far

<!-- file: index.html -->
<!-- User Editable Region -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
  </head>

  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>

      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>
<!-- User Editable Region -->
/* file: styles.css */
h1, h2, p {
  text-align: center;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36

Challenge Information:

Design a Cafe Menu - Step 11

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-cafe-menu/5f3477ae8466a9a3d2cc953c.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @BrightDao

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

Happy coding

Your styles.css still has the text-align: center styles. Step 11 requires removing all style elements, so delete those CSS rules and try again.

Thank you for your help @Teller

Thank you for your help @cartergray22

that is wrong, the step requires to remove the style element, not to empty the styles.css file