Learn Basic CSS by Building a Cafe Menu - Step 12

Tell us what’s happening:
I have finished what the intruction said but I am still stuck in this step, I put three CSS rules to the existing style tag, but it still said I did’nt.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style>
      h1 {text-align: center;}
      p {text-align: center;}
      h2 {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/106.0.0.0 Safari/537.36

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

Link to the challenge:

Try change your browser, there is rare occurrence that Mozilla will catch an error and make we can’t pass step even our code is correct.

1 Like

It works! thank you :smile:

My pleasure. Best of luck on your journey

1 Like