Error in 23 step cafe menu css

body {

  background-color: burlywood;   

  /* your comment */

}

h1, h2, p {

  text-align: center;

}

div {

  width: 300px;

}

Hello there.

Do you have a question?

If so, please edit your post to include it.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

1 Like

I need your help where will I write comment section in CSS?

In your style sheet, comment out the the line containing the background-color property and value, so you can see the effect of only styling div element. This will make the background white again.

What does it mean?

3 posts were merged into an existing topic: Solution step 27 in CSS section about class

This means to put the comment characters /* and */ at the start and end of the line with the background-color property.

You need to surround the background-color property within the comment tags so that they do not affect the styling of the page.

1 Like

I have struggled much in this step 23 until I did it.

Mod Edit: SOLUTION REDACTED

don’t forget to end with curl braces (})

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

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