Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:

Building a cafe menu with CSS step 11. After adding the h1 selector and the text align value. My code still not passes. Please guide me

Your code so far

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

<!-- User Editable Region -->

   <typeselector>  <style>h1 {CAMPER CAFE     text-align: value; center ;  }
    </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 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36

Challenge Information:

Learn Basic CSS by Building a Cafe Menu - Step 11

remove this part

remove this from the css

here remove value;

It is very helpful for us!

If they had an example with a different wording this would be understandable for any problems, not just step-11. The next step is similar misunderstanding.

Selectors are written like this:

selector {
property: value;
}

1 Like

Hello @benevolentopulence !

The example provided for this step, is a general example that can be used for guidance throughout the complete course on how to use, with proper syntax, the CSS selector.

However, freeCodeCamp is always open to contributions by anyone, that could improve the learning process. I believe suggestions may be made through the Contributors subcategory.

Wishing you good progress on your coding journey. :slightly_smiling_face: