How to do step 13 of cafe menu in basic css?

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

  **Your code so far**
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <style>
    h1 {
      text-align: center;
    }
  </style>
  <style>
    p {
      text-align: center;
    }
  </style>
  <style>
    h2 {
      text-align: center;
}
  
</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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 13

Link to the challenge:

1 Like

I don’t see a closing tag on the style for H2. That’s why everything’s gray down below.

1 Like

please close the last style tag

I think you should not use style attribute again and again. You can list h1 , h2 and p in one style attribute.

1 Like