Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:
where to put the h1 selector in the style section?

Your code so far

element { property: value; center }

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
   <style><h1>
      element {
        property: value; center
      }
    </h1></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 (X11; CrOS x86_64 14092.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.107 Safari/537.36

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

Link to the challenge:

The example code in the instructions is using generic names. You need to replace them with the actual names/values you want to set. So you need to replace element with the name of the element you want to style. And then replace property with the name of the property you want to set. And then replace value with the value you want to use for the property.

1 Like

Thank you! That helped me very much the way you explaind it.