Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:
Hello everybody, I’m stuck here with that code ! Anyone could help me?

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>

<!-- User Editable Region -->

    <style> 
     <h1> {
       text-align: center;
       }
     </h1>
    </style>

<!-- User Editable Region -->

  </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/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15

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

Link to the challenge:

Hello!

Here is the example for this step.

element {
 property: value;
}

I think you should only use h1 not the < h1> for the selector.

Happy coding!

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