Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:
Describe your issue in detail here.

I dont understand what a selector is? I havent been on here for a while.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style { 
h1: center;
} >
    </style>
  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>

      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>

Your mobile information:

SM-G781U - Android 13 - Android SDK 33

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

Link to the challenge:

Here is the example the challenge gives you, and the directions it tells you to pass

element {
 property: value;
}

Center your h1 element by setting its text-align property to the value center.

You should be able to look at the directions it gives you and replace the words in the example with what the challenge is asking for in the directions

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