Learn Basic CSS by Building a Cafe Menu - Step 14

Hi guys? I’m stranded in styling. How can I insert and use SINGLE TYPE SELECTOR for all the three elements nested there in style element??

Please help.

  **Your code so far**
<!DOCT<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <style>
    h1{align-text:center}
    h2{align-text: center}
    p{align-text: p: 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/103.0.0.0 Safari/537.36

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

Link to the challenge:

Hi, you can use commas as separator.
Example from the task is all about it:

selector1, selector2 {
  property: value;
}

If something is unclear in the above, feel free to ask more questions

1 Like

Hi? I’ve tried but I can’t get through. Do you mind helping me insert those three elements and send me the results? As a whole example.

That would be me solving this again) Not the best idea.

Post your updated code here, we’ll figure it out from there. Kinda need to see your code to guide you in the right direction.

You know how to format code like below?

some code should look like this