Learn Basic CSS by Building a Cafe Menu - Step 12

Tell us what’s happening:

Step 12 is telling me that I’m wrong, and the hint says to not add a new styling element… they are all in the same styling element, but I didn’t add one. I don’t see what’s wrong, I have tried to look it up on this forum and nobody else has the same problem. If someone can explain how “adding a new type selector for each one to the existing style element” is not what I did then I will be amazed. Thanks

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>
  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36 OPR/91.0.4516.77

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

Link to the challenge:

Your code is passing on my end. Maybe copy the code and refresh the browser and paste it back in? I’m honestly not too sure.

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