HTLM-CSS Building a cafe menu

Tell us what’s happening:
Please, I am stuck at step 12 I need help.

  **Your code so far**
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <style>
    h1 ( 
       text-aline:center:
       )
  </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:

styling your element takes place in the style.css tab not your index, i hope that helps a bit

in the styles.css tab your element should look like for example

h5 {
text-align: center;
}

Hello everyone,
the challenge asks for an internal CSS, OP was right in that.

But it is full of spelling errors

h1 (
text-aline:center:
)

h1{
text-align: center;
}
would be the correct version.

CSS styles are wrapped in curly brackets {}.
Put a space between the property colon and the value.
Use a semicolon after a value, in your case after “center”.

I have passed the test, thank you.

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