Learn Basic CSS by Building a Cafe Menu - Step 12

Tell us what’s happening:
Hi guys, getting this error msg: " You should not add a new style tag. Add the new CSS rules to the existing style tag."

There’s no such case on forum and
h1, h2, p {
data
}
also returns an error
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>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

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

Link to the challenge:

Got it, if any of u guys have “Dark Reader” chrome extension - disable it at least to click cmd+enter lol

I was about to comment the code passes on my end.

1 Like