Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:
So i got the problem of the h1 part fixed but it tells me that I need to have a center value. (I don’t know if this makes sense or not)

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style>
 h1 {
 :text-align; center
 }
    </style>
  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>

Your mobile information:

iPhone - iOS17.2.1

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

Link to the challenge:

Hi @cancan20607

Place the colon after

Place the semi-colon after

Happy coding

Your syntax is mixed up. The syntax for a css property is

property: value;

Your syntax is:

:property; value;

Opps! :grinning: Keep trying.

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