Learn Basic CSS by Building a Cafe Menu - Step 13

what does it mean that i should add a new h2 selector ? help

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

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

Link to the challenge:

Hey,
You should have 3 different type selectors like this one:

The first referring to h1, the second to h2 and the third to p.

1 Like

isnt this exactly what i did ?

They should be all in the same style element.

2 Likes