Hey can someone help me with cafe menu step 12

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

  **Your code so far**
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <style><h1></h1>

   element {
     properties: value="text-align"
   }
  </style>
</head>
<body>
  <header>
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
  </header>
  <main>
    <section>
      <h2>Coffee</h2>
    </section>
  </main>
</body>
<html>
  **Your browser information:**

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

Challenge: Step 12

Link to the challenge:

1 Like

Hi @hattahakimi2002

This a link it can be handy:

And how CSS rules, it is pretty graphic:

They want you do this: Center your h1 element by setting its text-align property to the value center.

Say you want to tell CSS that your H1 element should have a width of 50px:

h1 {
width: 50px;
}

I hope this help. But remember sometimes is better to stop and read about syntax involve in that particularly step or just check for some examples to better understanding the problem.

Happy coding!

the element would be h1, the property would be text-align and the value would be center in the example, that’s your code

1 Like