Learn Basic CSS by Building a Cafe Menu - Step 13

Tell us what’s happening:
I’ve tried every combination of ways to write this I can think of ( separate style tags, all one css rule, separate rules, one line, multiple lines, and other ways.) It works perfectly when rendered but I still get a failed error : " You should not add a new style tag. Add the new CSS rules to the existing style tag." I’m confused because I only used one style tag. Help would be much appreciated.
Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style>
      h1 {text-align: center;}
      h2 {text-align: center;}
      p {text-align: center;}
    </style>
  </head>
  <body>
    <main>
      <header>
        <h1>CAMPER CAFE</h1>
        <p>Est. 2020</p>
      </header>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>

Your browser information:

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

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

Link to the challenge:

That solution works for me:

You may be running extensions that are interfering with the test suite.

1 Like

I run into issues like this almost daily on FCC. Usually if the correct answer doesn’t trigger successful completion, I reset the tutorial, reset the terminal, try in another browser or try again in 30 or so mins.

Yes it was an extension thank you! (It was the dark reader extension if anyone has this issue in the future)

1 Like

Ah, dark mode extensions work by modifying CSS, so they often interfere with our CSS based tests.