It says I'm missing the 'h2' element? I have it under the h1 though? What am I missing?

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

  **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 {
      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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.124 Safari/537.36 Edg/102.0.1245.44

Challenge: Step 13

Link to the challenge:

HI @caydebaby2018 !

The issue is that you have multiple style sections.

You only need one style section.
Not multiple.

Hope that helps!

Also you can group multiple css selectors by using commas.
In this lesson they want you to use a seperate type selector for each one. But this is good to know for the future

Thank you so much! Didn’t realize you could group them all together!

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