Step 14 Coffee Shop CSS

Tell us what’s happening:
Describe your issue in detail here.

I know the answer is so close. I start a new for the h1, h2, p to give them the {} brackets of text align center but it’s not working. I don’t know if I have a spacing issue. I don’t know what’s up.

M

  **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>
  <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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14695.85.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 14

Link to the challenge:

You do not need to create many style tags.
All your styling should be inside one style tag.

So the above is OK you just need to place it correctly.
You need to delete all this:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.