Cafe Menu Step 13

Tell us what’s happening:
Hi pls help it still telling me to add a new h2 selector ,how do I go about that

  **Your code so far**
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <style>
    h1 {
      text-align: center;
    }
  </style>
  <style>
    h2 {
      text-align: center;
    }
    </style>
   <style>
    p {
      tex-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 (iPhone; CPU iPhone OS 15_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Mobile/15E148 Safari/604.1

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

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

You need exactly one style tag.

Also, you have a small typo in the p CSS rule

Just for the h1 right ?

No. You should have one style element with 3 CSS rules.

Pls enlighten me about that I’m really confused

Try it. Try putting all three CSS rules between one pair of opening and closing style tags.

Thanks it helped ,I fixed it now

1 Like

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