Learn Basic CSS by Building a Cafe Menu - Step 11

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

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style>
     h1{
       property :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:

TECNO CI6 - Android 12 - Android SDK 31 - Security Patch 2022-09-05 - TECNO/CI6-GL/TECNO-CI6:12/SP1A.210812.016/221018V725:user/release-keys

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

Link to the challenge:

Welcome to our community!

The ‘text-align’ is a property. Don’t use the word 'property in css rules. Delete that word and the colon after - property :, and add the semi-colon after the property: text-align:

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