Design a Cafe Menu - Step 10

Tell us what’s happening:

help me with this guys please I tried my best please

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Cafe Menu</title>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>


/* file: styles.css */
h1 {
  color: brown;
  text-align: center;
}

h2 {
  color: red;
  text-align: center;
}

p {
  color: black;
  text-align: center;
}






/* User Editable Region */



/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0

Challenge Information:

Design a Cafe Menu - Step 10

Can you talk about how you got stuck figuring out how to fix the code please?

1 Like

yes so I was trying to solve it multiple times and it didn’t work

Can you be more specific please? I cannot give you the solution code, so I need to know what has you stuck specifically in trying to fix your code.

Hi @adamelmao

I see three selectors, not one.

Try copying and pasting the CSS from the HTML.

Happy coding