Somebody can assist me I can't pass the 23 step

Tell us what’s happening:
Many Thanks! Somebody help.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
  <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" type="text/css" />
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
/* file: styles.css */

body {
/* comment background-color: burlywood */
background-color: burlywood;

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

div {
width: 300px;
  **Your browser information:**

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

Challenge: Step 23

Link to the challenge:

Actually you need to comment this: background-color: burlywood;

So, you need put this line between /* and */

Dear txt88:
I also can’t understand your meaning.I type

body {
  /* background-color: burlywood */
  background-color: burlywood;

It also can’t pass can you help me?

HI @hwapipi !

Your answer should be one of line of code.

You have two lines of code here

That is incorrect.

The answer should only be the first line of code you wrote where the background color is commented out because the lesson is trying to teach you how to comment out code.

Hope that helps!

1 Like

Dear Miss J.
Many Thanks your help!
I type below:

 background: white;
  background-color: burlywood;/* background-color: burlywood */

Why I type" background: white;" because its hint need a white background.Below:

Sorry, your code does not pass. You’re getting there.


Your body should have a white background.

I would suggest going back to the code you have here

The first line is the correct way to comment out code.

But it is important that you understand the lesson.
You can comment out css code by placing it inside comments.

Here is are some examples of commented out css code

/* width: 300px; */
/* text-align: center; */
/* color:red; */

Hopefully you can understand the lesson a little bit better

Dear J.
I also can’t solve but now is my lunch time and I want to rest few hours or few days,however, I am very thanks your help and hope see you soon.Many thanks!

Side note: I still assert that trying to explain how you’re stuck in the first post is helpful for you and the people who try to help you. “someone help” doesn’t really practice this skill or provide information to narrow down where you are confused.

If you are still stuck, it is best to provide your latest code so we can better understand what you are trying to do now.

You should only add a starting comment character /* and ending comment character */ to the original code, nothing else.

In my understanding -This step -23 css lesson tries to help us to understand how comment out a code works to see how other code works or vice versa .
so ----
This means just put the css comment out function around.

/* comment here */
Then background-color: burlywood will stop working and your background will be white again instate of burlywood.
No need to write any other code. Just put CSS COMMENT OUT FUNCTION around your current written function like this


Hope it works for you.

the comment has 2 functions, one is to write comments that don’t interfere with the code, the other, what the exercise asks for, is that you can enclose in the comment a line that the code should not read, but you don’t want to delete it.

Thank You.
Thank you for better explanation .

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