After comment body needs to be white background

Tell us what’s happening:
Describe your issue in detail here.
I already commented the whole line but, the hint keeps on repeating.

Hint: Your body should have a white background.

THIS IS THE INSTRUCTION:

Comments in CSS look like this:

/* comment here */

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.

  **Your code so far**
body {
  /* background-color: burlywood */
  background-color: burlywood;
}

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

div {
  width: 300px;
}

Please provide a link to the challenge you are working on so we can assist you.

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Also, it looks like you have duplicate background color properties here.

My guess is that the reason why you are not passing the challenge is because you needed to comment out the existing background color not create a new one.

My hunch was correct.

Please reset the lesson, and try the suggestion I mentioned in my previous comment to pass the test.

oh wow thanks a lot it took me 2 hours for this problem only hahaha

1 Like

Glad you were able to figure it out. :+1:

1 Like

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