Learn Basic CSS by Building a Cafe Menu - Step 17

Tell us what’s happening:
It says to add the .dessert selector to the .flavor selector. What does that even mean?

.flavor {
text-align: left;
width: 75%;
}

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <link href="styles.css" rel="stylesheet"/>
    <meta name="viewport"> 
    <meta content="width=device-width,">
  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>
/* file: styles.css */
h1, h2, p {
  text-align: center;
}

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

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

Link to the challenge:

Your question doesn’t seem related to the code you posted? Can you please provide the code you are working on and a link to the challenge?


You add multiple selectors like this

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