Learn Basic CSS by Building a Cafe Menu - Step 22

Tell us what’s happening:

I’ve followed instructions, and code not passing. What am I doing wrong?

Your code so far

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

/* User Editable Region */

/* comment here */

/* User Editable Region */

}

h1, h2, p {
  text-align: center;
}

#menu {
  width: 300px;
}

Your browser information:

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

Challenge Information:

Learn Basic CSS by Building a Cafe Menu - Step 22

Hi there!

The instructions is asking you:
In your style sheet, comment out the line containing the background-color property and value.

You didn’t followed the instructions. You need to comment out the background color property and it’s value. Currently you have commented the text comment here

2 Likes

I got stuck at the same step! Could you please write down the correct code to overcome this obstacle? Thank you

Hi there @mr.azour !

Welcome to the FCC forum. We don’t do that here. Posting solution code is not allowed here on the forum.
If you have a question about specific curriculum challenge step. Create your own topic to the challenge step using the Help button. That button appears below the challenge editor when you try to submit the wrong code more than three times. Then we can assist you by given only hints and suggestions about your code.

Hey Buddy, welcome to the Forum.

Here if you face challenge on any particular topic.

As you can see the button Help by using this you can create your own post.

Hope Will see your own post in forum :partying_face:

Thank you for your answer.

I belive I am within my boundries when I say that /* is an opening tag

it’s not an opening tag. Also, if you have questions please create your own topic

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge. This button only appears if you have tried to submit an answer at least three times.

The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.