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
please help me with this

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>

<!-- User Editable Region -->

  <style> <h1 {text-align:"center";}>
    </style>

<!-- User Editable Region -->

  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <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/92.0.4515.131 Safari/537.36 Edg/92.0.902.67

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

Link to the challenge:

Hi @muhammadadebola ,
No need of placing elements (h1, h2, p … etc) in brackets, in CSS. So Remove < and > on h1 element.
When assigning values to attributes, No need of placing Quotation marks (" ") .
Ex:

element {
  attribute: value
}
1 Like

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