Learn Basic CSS by Building a Cafe Menu - Step 14

**Tell us what’s happening:*Describe your issue in detail here.
Error messge says I should have a p,h1,and h2 That is exactly what I have
done here Can someone see something I don’t?Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style>
      h1, h2, p {
        text-align: center;
      }
    </style>
  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>
/* file: styles.css */

/* User Editable Region */

h1,h2,p: {
  text-align:center
  } 

/* User Editable Region */


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

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

Link to the challenge:

Hi @rere2601 !

You have a syntax error in the selectors used on the CSS file, look again to remove that character that should not be there.

1 Like

I’m still looking. 3 days later. I know I will get it

Hello!
I can see you almost have it. If compared with the original text in the style, one will see there is a difference between the original h1,h2, p { } and the one entered into the styles.css file. It is ever so small, and as previously stated, this syntex is what is causing the issue. My suggestion is to focus only on the two areas of h1, h2, p { Not on anything further. See if you notice the additional syntex in the one entered in the styles.css.
I hope this helps you. Happy coding!

1 Like

Thank you. I have taken all suggestions into consideration. But believe it or not I still so not see it.

I see it thank you. My code has [assed.

Happy you found the solution as we tried to direct you to it. We have all been in that little space where we miss something simple. lol
Happy coding! :slight_smile:

1 Like

Thank you so much for all of your help. I appreciate it. It took me a few days to see it but I got there.

1 Like

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